Hi i'm just testing out your package for a new project and ran into an issue. In Settings I'm trying to setup the smtp host. But I cannot for the life of me get it to connect. My incoming and outgoing mailserver have the same address (mail.mydomainname.sr). Don't know if that's causing the issue. However the connection to the incoming mailserver works just fine. Any thoughts?
Thanks for trying tha package, I can tell you that there is a huge update comming in a couple of weeks with a lot of highly requested features. The the concept will stay the same.
About your problem. Are you trying the package locally? Many ISP (internet service providers) are blocking port 25, are you sure that you have access to that port for outgoing traffic? If the port is blocked most ISPs will have theire own smtp that you can use.
Are you using any authorization or SSL? Do you get any errors?
Markus i'm using the same settings for the outgoing server as in my web.config for sending regular mail (i.e contact form; Although in web.config no port is specified). That works just fine. It's also the settings I have configured in Outlook (I'm using my personal mail for testing) so I'm sure I have access. Yes I'm using authorization. Have also tried without. I've tried using port 587. No Luck.
The only error I get is the one generated by the connection tester. It says:
Could not connect. Please check settings and credentials. Error message: Server not found. Could not connect.
Hi again! Good! This looks strage. So you are 100% sure that you can send emails from the server with ASP.NET but the connection with NewsletterStudio dosen't work? Are all apps hosted on the same sever? Are you using port 25? How long does the application "work" before showing the error? Could it be that the testers timeout is to fast so that the servers don't have time to anwser?
I think I managed to produce the same problem here. If you keep the same settings and click on test connection multiple times (2-5), will that enable the connection?
Hi again Giovanni! We'll have a closer look at this during the day! Do you know if your SMTP are using "auth plain" or "auth login" for authorization? Could be found using telnet.
Giovanni, I think we have solved the issue, could I send you a new dll to make sure that this soulves the issue? Please email me at markus [at sign here] enkelmedia.se.
I think that the problems are caused by the fact that the "connection tester" seems to lack in the support of SSL. Meaing that the accual sending will work but not the connection-tests.
We're gonna provide you with a fix to bypass the test asap. I think we're going to have to drop or rewrite the "test-feature" for the next release.
I'll keep you posted. Could you send me a email so that I can provide you with som test dlls? markus [at sign] enkelmedia.se.
Just another note which might help fix this issue: I've successfully sent out a "test email" using gmail's TLS/SSL service, but it fails when I try to "Send the newsletter now", the same way it did when it was testing the correct SMTP configuration.
The "tester" is not used when sending a single test mail, its just used before a batch. That's why. We are looking for solution right now. I think that you can count on a fix later on today.
If you dont want to reinstall, just replace NewsletterStudio.dll in the /bin/ and "Settings.aspx" in /umbraco/newsletterstudio/pages/ with the new one.
I tested version 1.1.2 and it works great, but I would like to confirm the following:
1) When I was testing the "Newsletters Studio" tokens, I noticed that the token [name] was being replaced by umbraco's Member.Login attribute. Is this the correct behavior, or am I misinterpreting something?
2) Would it be possible to extend the available tokens so I can include more Member.* attributes in the newsletter? (i.e.: more than just the 4 available tokens)
3) API access - Can we programmatically instance newsletters and send them out, without using the backoffice? This would be very nice, as we need to build custom server generated reports to our members.
We appreciate all of your support in this matter - Thanks!
1) Yes, it accualy depends. If you are using the "Enable Umbraco Member Newsletter Property" the real .Text-proparty will be used and otherwise the "UserName"-property of the UmbracoMembershipProvider. Sounds like some strange thing that we have missed out. It shuld probably be the ".Text"-property in both cases?
2) Yes. In the up comming release we introcude something called RenderTasks. Its a small class with 3 methods that are used in the rendering procces so that you could swap out tasks and insert your own. I other words, you could add a tag like this to the message body: [dumitru:hallo], and then implement a new render task to replace that tag with something, values from umbraco, webservice resualts, a webpage, a database-value - what ever.
3) That's not something that we have planned for at the moment but it could probably be added to the roadmap. Is this some feature to send a uniq email to one user? Could you describe your requirements a little closer?
3) API access - Can we programmatically instance newsletters and send them out, without using the backoffice? This would be very nice, as we need to build custom server generated reports to our members. your answer: That's not something that we have planned for at the moment but it could probably be added to the roadmap. Is this some feature to send a uniq email to one user? Could you describe your requirements a little closer?
Our requirements are as follows: We have scheduled a weekly task that generates a couple of distinct server reports. These reports vary both in quantity (e.g.: in one week there are 2 reports to be sent out, in the following there are 3, then there are none) and in the message's recipient list (e.g.: report1 is sent to group1, report2 is sent to group2).
Because of all these variables, we need to add these newsletters programmatically (since it's A LOT easier and automatic) and later on review these messages and the associated analytics.
Okey, so there are multiple recipients for each report? And the reports are automaticly generated at a specific time? One thing that we are planing to add is support for macros (and to add external resources like a webpage-url to be rendered into the content). But from what i understand you would like your scheduled reports to "push the send button"?
I can image that this could be done using a scheduled mail out.Some thing like this: - Create a newsletter - Add stuff, body etc - Set subscribers - Schedule the send out to be done in like 10 mins
Yes, the solutions you mentioned are already in use in our custom applications (namely, external webpage-url as a source) but we came to understand that it is not possible to invoke an Umbraco macro in your newsletter.
The flow you presented is what we need to do in code - Scheduling to send out in 10 mins would be perfectly reasonable.
No the extarnal "webpage-url as source"-thing will be included in the next major release. That's 1-2 weeks from now. We haven't planed for the changes to the API but that could probably be done. Worst case, dirty solution, would be to make your code talkt direct to the database.
It also contains improvments with relative urls pointing to the mediasection. If you don't want to reinstall just replace NewsletterStudio.dll and all files in /pages/.
I'm trying to test and evaluate the newsletter studio package that I consider very atractive, but unfortunely mails are not outgoing. It seems to me doesn't save my configuration, because when I return to form settings it assumes localhost again.
Here are the displayed errors when sending the newsletter.
Could not connect to the SMTP-server with name "Smtp1". Please check your settings. Could not connect to the SMTP-server with name "NewServer1". Please check your settings. Could not connect to the SMTP-server with name "NewServer3". Please check your settings.
Which version are you running? (Rightclick NewsletterStudio.dll and look in the properties).
Looks like you got a lot of servers configured. Have you seen the dropdown that appears in the settings-section? Choose the severs and delete dem, then just use one server.
The settings are saved to a config-file : /umbraco/newsletterstudio/web.config have a look in that file and se what happens. Are you using source control or something that overwrites that file?
Connecting to SMTP host
Hi i'm just testing out your package for a new project and ran into an issue. In Settings I'm trying to setup the smtp host. But I cannot for the life of me get it to connect. My incoming and outgoing mailserver have the same address (mail.mydomainname.sr). Don't know if that's causing the issue.
However the connection to the incoming mailserver works just fine. Any thoughts?
Hi Giovanni!
Thanks for trying tha package, I can tell you that there is a huge update comming in a couple of weeks with a lot of highly requested features. The the concept will stay the same.
About your problem. Are you trying the package locally? Many ISP (internet service providers) are blocking port 25, are you sure that you have access to that port for outgoing traffic? If the port is blocked most ISPs will have theire own smtp that you can use.
Are you using any authorization or SSL? Do you get any errors?
Markus i'm using the same settings for the outgoing server as in my web.config for sending regular mail (i.e contact form; Although in web.config no port is specified). That works just fine. It's also the settings I have configured in Outlook (I'm using my personal mail for testing) so I'm sure I have access. Yes I'm using authorization. Have also tried without. I've tried using port 587. No Luck.
The only error I get is the one generated by the connection tester. It says:
Could not connect. Please check settings and credentials. Error message: Server not found. Could not connect.
Hi again!
Good! This looks strage. So you are 100% sure that you can send emails from the server with ASP.NET but the connection with NewsletterStudio dosen't work? Are all apps hosted on the same sever? Are you using port 25? How long does the application "work" before showing the error? Could it be that the testers timeout is to fast so that the servers don't have time to anwser?
I think I managed to produce the same problem here. If you keep the same settings and click on test connection multiple times (2-5), will that enable the connection?
Markus, yes all apps are on the same local development server. All using the same remote smtp host.
I'd say it tries to connect for about 2-3 seconds before it shows the result.
Glad to hear you've managed to reproduce the problem. But clicking multiple times hasn't worked for me :(.
Hi again Giovanni!
We'll have a closer look at this during the day! Do you know if your SMTP are using "auth plain" or "auth login" for authorization? Could be found using telnet.
Giovanni, I think we have solved the issue, could I send you a new dll to make sure that this soulves the issue? Please email me at markus [at sign here] enkelmedia.se.
The updates worked like a charm! Thanks.
Great! The new version is already uploaded to the package repository and downloadable here: http://our.umbraco.org/projects/backoffice-extensions/newsletter-studio
Hi Markus
With the new version I get the same error:
I have the same configuration in web.config and works great.
Thanks!!!
Hi!
I think that the problems are caused by the fact that the "connection tester" seems to lack in the support of SSL. Meaing that the accual sending will work but not the connection-tests.
We're gonna provide you with a fix to bypass the test asap. I think we're going to have to drop or rewrite the "test-feature" for the next release.
I'll keep you posted. Could you send me a email so that I can provide you with som test dlls? markus [at sign] enkelmedia.se.
// Markus
Just another note which might help fix this issue: I've successfully sent out a "test email" using gmail's TLS/SSL service, but it fails when I try to "Send the newsletter now", the same way it did when it was testing the correct SMTP configuration.
Thanks!
Great feedback!
The "tester" is not used when sending a single test mail, its just used before a batch. That's why. We are looking for solution right now. I think that you can count on a fix later on today.
/ Markus
Hi again Dumitru!
I've had a closer look at the component used for testing the smtps and decided to swap it for another thats a little bit slower, but much more reliable. The new version is uploaded to the project page: http://our.umbraco.org/projects/backoffice-extensions/newsletter-studio.
If you dont want to reinstall, just replace NewsletterStudio.dll in the /bin/ and "Settings.aspx" in /umbraco/newsletterstudio/pages/ with the new one.
Please let me know if this solves your issues!
All the best!
// Markus
Hi Markus!
I tested version 1.1.2 and it works great, but I would like to confirm the following:
1) When I was testing the "Newsletters Studio" tokens, I noticed that the token [name] was being replaced by umbraco's Member.Login attribute. Is this the correct behavior, or am I misinterpreting something?
2) Would it be possible to extend the available tokens so I can include more Member.* attributes in the newsletter? (i.e.: more than just the 4 available tokens)
3) API access - Can we programmatically instance newsletters and send them out, without using the backoffice? This would be very nice, as we need to build custom server generated reports to our members.
We appreciate all of your support in this matter - Thanks!
Hi Dumitru!
Nice to hear that this fixed your problems!
1) Yes, it accualy depends. If you are using the "Enable Umbraco Member Newsletter Property" the real .Text-proparty will be used and otherwise the "UserName"-property of the UmbracoMembershipProvider. Sounds like some strange thing that we have missed out. It shuld probably be the ".Text"-property in both cases?
2) Yes. In the up comming release we introcude something called RenderTasks. Its a small class with 3 methods that are used in the rendering procces so that you could swap out tasks and insert your own. I other words, you could add a tag like this to the message body: [dumitru:hallo], and then implement a new render task to replace that tag with something, values from umbraco, webservice resualts, a webpage, a database-value - what ever.
3) That's not something that we have planned for at the moment but it could probably be added to the roadmap. Is this some feature to send a uniq email to one user? Could you describe your requirements a little closer?
your answer: That's not something that we have planned for at the moment but it could probably be added to the roadmap. Is this some feature to send a uniq email to one user? Could you describe your requirements a little closer?
Our requirements are as follows: We have scheduled a weekly task that generates a couple of distinct server reports. These reports vary both in quantity (e.g.: in one week there are 2 reports to be sent out, in the following there are 3, then there are none) and in the message's recipient list (e.g.: report1 is sent to group1, report2 is sent to group2).
Because of all these variables, we need to add these newsletters programmatically (since it's A LOT easier and automatic) and later on review these messages and the associated analytics.
Thanks :)
Okey, so there are multiple recipients for each report? And the reports are automaticly generated at a specific time? One thing that we are planing to add is support for macros (and to add external resources like a webpage-url to be rendered into the content). But from what i understand you would like your scheduled reports to "push the send button"?
I can image that this could be done using a scheduled mail out.Some thing like this:
- Create a newsletter
- Add stuff, body etc
- Set subscribers
- Schedule the send out to be done in like 10 mins
Would that be useful?
// Markus
Yes, the solutions you mentioned are already in use in our custom applications (namely, external webpage-url as a source) but we came to understand that it is not possible to invoke an Umbraco macro in your newsletter.
The flow you presented is what we need to do in code - Scheduling to send out in 10 mins would be perfectly reasonable.
Thanks again
Hi!
No the extarnal "webpage-url as source"-thing will be included in the next major release. That's 1-2 weeks from now. We haven't planed for the changes to the API but that could probably be done. Worst case, dirty solution, would be to make your code talkt direct to the database.
About the other problems:
A new hotfix "1.1.3" is up here http://our.umbraco.org/projects/backoffice-extensions/newsletter-studio. News is that the members name (the memberObject.Text) is used to replace the [name]-tag when using the umbraco members as lists.
It also contains improvments with relative urls pointing to the mediasection. If you don't want to reinstall just replace NewsletterStudio.dll and all files in /pages/.
// M
Hi there,
I'm trying to test and evaluate the newsletter studio package that I consider very atractive, but unfortunely mails are not outgoing. It seems to me doesn't save my configuration, because when I return to form settings it assumes localhost again.
Here are the displayed errors when sending the newsletter.
Could not connect to the SMTP-server with name "Smtp1". Please check your settings.
Could not connect to the SMTP-server with name "NewServer1". Please check your settings.
Could not connect to the SMTP-server with name "NewServer3". Please check your settings.
Could you help me ?
Best regards
Hi!
Which version are you running? (Rightclick NewsletterStudio.dll and look in the properties).
Looks like you got a lot of servers configured. Have you seen the dropdown that appears in the settings-section? Choose the severs and delete dem, then just use one server.
The settings are saved to a config-file : /umbraco/newsletterstudio/web.config have a look in that file and se what happens. Are you using source control or something that overwrites that file?
Hi Markus,
Thank you. Yes that is the reason, meanwhile I deleted all the others smtp servers and voila, it works.
Regards
is working on a reply...