I'm getting the message "Could not connect to the SMTP-server. Please check your settings." when I try and send a newsletter.
I'm sure my settings are correct though and can send test newsletter emails. But when I try to actually send the newsletter I get "Could not connect to the SMTP-server. Please check your settings.".
AFAIK the mail server doesn't allow relaying, we can only send emails to company addresses and when testing the SMTP connection I get this error "Could not connect. Please check settings and credentials. Error message: Mailbox unavailable. The server response was: 5.7.1 Unable to relay". However the only email on the mailing list I am using is a company one.
The connection is tested by actually sending a real email to a "dummy box" that we're hosting. We looked around and found out that the only good way to really test the smtp-server was to send an e-mail. But we did not consider an enviroment where emails only can be sent inside the company (which we should have done). I'm thinking that we should add a configuration-option to set which email to use for testing, I think that this would solve your problems?
We're about a week from the next release (where we'll include this feature) but if you really want to test the package right now. Please send me and email at markus [at sign] enkelmedia.se and I'll provide you with a custom dll where the connection-checker is disabled.
Hi! The test is also perfomed when the send out starts (the exact same test - sending a real email). This is so ensure that the servers works before sending the emails.
As an update I would like to mention that there is a known pwoblem with the connection-tester in version 1.1.3. Is anyone experiance problems with testing the connection on 1.1.3 please upgrade to 1.1.4 - that will solve this problem.
Yes, but it's not very well documentet at the moment. You need to add a new attribute to the OutgoingEmail-element in web.config. The config-file is located at "/umbraco/newsletterstudio/web.config/.
Add an attribute called "sendConnectionTestEmailsTo" and set it to your perfered email. Ie:
I was getting the could not connect to server error and i followed your steps of adding the attribute to the webconfig file. But after i did that, its giving me the follwoing error:
Object reference not set to an instance of an object.
When are you getting this error? What database are you running and which version of Newsletter Studio? (Look at the binaries to se version if your not sure).
Sorry for the delay in response, i am running the latest TRIAL version of the newsletter studio. I am having trouble with
1] Connecting to the server to send out the email. If i go to settings and try to test SMTP connection, it always fails no matter what server i choose (local host or mail.newsserver.com). What am i doing wrong ?
2] Error when i hit send button after composing a newsletter. I am clicking on "Send out a test mail" to myself. I changed the webconfig file as mentioned in this post earlier. I have attached a screenshot of my error.
1. Did you change the "sendConnectionTestEmailsTo"-setting? Is that mailbox valid? Are you running an SMTP-server on your localhost? Does your internet provider block the outgoing port? If you try on your local machine, install Papercut to test out the software. http://papercut.codeplex.com/
2. Hmm, it can't tell you what goes wrong, which version of Newsletter Studio are you running? It could be related to your smtp-settings that fails. Have you implemented any custom stuff? RenderTasks? Does the "preview"-button in the editor work?
Can't connect to SMTP server
I'm getting the message "Could not connect to the SMTP-server. Please check your settings." when I try and send a newsletter.
I'm sure my settings are correct though and can send test newsletter emails. But when I try to actually send the newsletter I get "Could not connect to the SMTP-server. Please check your settings.".
AFAIK the mail server doesn't allow relaying, we can only send emails to company addresses and when testing the SMTP connection I get this error "Could not connect. Please check settings and credentials. Error message: Mailbox unavailable. The server response was: 5.7.1 Unable to relay". However the only email on the mailing list I am using is a company one.
Any ideas what the problem could be?
Hi!
The connection is tested by actually sending a real email to a "dummy box" that we're hosting. We looked around and found out that the only good way to really test the smtp-server was to send an e-mail. But we did not consider an enviroment where emails only can be sent inside the company (which we should have done). I'm thinking that we should add a configuration-option to set which email to use for testing, I think that this would solve your problems?
We're about a week from the next release (where we'll include this feature) but if you really want to test the package right now. Please send me and email at markus [at sign] enkelmedia.se and I'll provide you with a custom dll where the connection-checker is disabled.
Have a great weekend!
Is it just when testing that is done i.e. that wouldn't be the problem with sending the newsletter?
Hi!
The test is also perfomed when the send out starts (the exact same test - sending a real email). This is so ensure that the servers works before sending the emails.
/ M
As an update I would like to mention that there is a known pwoblem with the connection-tester in version 1.1.3. Is anyone experiance problems with testing the connection on 1.1.3 please upgrade to 1.1.4 - that will solve this problem.
Did this feature get included in the new release. I've upgraded but am still getting errors.
Hi Suzyb!
Yes, but it's not very well documentet at the moment. You need to add a new attribute to the OutgoingEmail-element in web.config. The config-file is located at "/umbraco/newsletterstudio/web.config/.
Add an attribute called "sendConnectionTestEmailsTo" and set it to your perfered email. Ie:
HI MARKUS,
I was getting the could not connect to server error and i followed your steps of adding the attribute to the webconfig file. But after i did that, its giving me the follwoing error:
Object reference not set to an instance of an object.
What should i do ?
Thanks
ashwini.
Hi Ashwini!
When are you getting this error? What database are you running and which version of Newsletter Studio? (Look at the binaries to se version if your not sure).
// Markus
Hi again Ashwini!
Do you run any custom render tasks?
Have you had a look at this topic? http://our.umbraco.org/projects/backoffice-extensions/newsletter-studio/comments/32097-Notification-of-custom-render-task-failure
HI Markus,
Sorry for the delay in response, i am running the latest TRIAL version of the newsletter studio. I am having trouble with
1] Connecting to the server to send out the email. If i go to settings and try to test SMTP connection, it always fails no matter what server i choose (local host or mail.newsserver.com). What am i doing wrong ?
2] Error when i hit send button after composing a newsletter. I am clicking on "Send out a test mail" to myself. I changed the webconfig file as mentioned in this post earlier. I have attached a screenshot of my error.
Can you please help me out ?
Thanks
Ashwini.
Hi!
1. Did you change the "sendConnectionTestEmailsTo"-setting? Is that mailbox valid? Are you running an SMTP-server on your localhost? Does your internet provider block the outgoing port? If you try on your local machine, install Papercut to test out the software. http://papercut.codeplex.com/
2. Hmm, it can't tell you what goes wrong, which version of Newsletter Studio are you running? It could be related to your smtp-settings that fails. Have you implemented any custom stuff? RenderTasks? Does the "preview"-button in the editor work?
// M
is working on a reply...