NewsletterStudio - SMTP Office 365 - Connection NOT established
Hello, I'm trying to connect an outlook 365 account on the NewsletterStudio umbraco but the connection does not work, the error appears: "Error: Could not connect. Please check settings and credentials. Error message:Mailbox unavailable. The server response was: 5.7.60 SMTP; Client does not have permissions to send as this sender [VI1PR01MB0894.eurprd01.prod.exchangelabs.com]"
What is the problem? What data i have to put (SMTP and Port)? Could it be another error?
<notifications>
<!-- the email that should be used as from mail when umbraco sends a notification -->
<email>[email protected]</email>
</notifications>
If you plan to use notifications (a good way to test if your email settings work, is to register for a notification (on publish for example) and publish.)
Make sure your logged on user has a proper (existing) email address registered.
Hello. I tried this configuration. I put the email data in web.config and umbracoSettings.config as you said.
Now, in Umbraco NewsletterStudio in "Senter image description hereend Options" If I send a "Send out a test e-mail", works fine, i receive the email and appears de green label, but if a click on "Send e-mail right now" to a contact group (with one or more contacts), doesn't work, the email/newsletter is not sent and appears the red label with the error: "Error: Could not send due to validation errors in: Could not connect to the SMTP-server with name "smtp.office365.com". Please check your settings.".
How this is possible?
Can anyone please help me? Is very urgent. These are the print screens:
If you click 'test connection' in Smtp Settings, gives that an error too?
I responded with regards to mail settings and office 365, perhaps the package author (Newsletter Studio) needs to step in for the package specific mail handling.
Yes, If I click 'test connection' in Smtp Settings, gives me a error too:
Error: Could not connect. Please check settings and credentials. Error message:Mailbox unavailable. The server response was: 5.7.60 SMTP; Client does not have permissions to send as this sender [AM2PR01MB0882.eurprd01.prod.exchangelabs.com]
Yes, I hope for a fast solution... Just if I send a "Send out a test e-mail", works fine,
Looking at your error message from the server "Client does not have permissions to send as this sender" it seems like the SMTP does not allow you to send with a certain e-mail?
In this case you have two ways to solved this:
1. Set up a valid test e-mail
Change the "sendConnectionTestEmailsTo"-setting in /outgoingEmail in the /config/newsletterStudio.config-file. This setting is used as both sender and receiver when testing the connection to the server. Change this to a valid e-mail on your Office 365-mail server.
When this is set to a valid email the validation of the server will work.
2. Fallback on web.config
If you just remove all your SMTP-servers from the /config/newsletterStudio.config-file the package will fallback to the settings in the root web.config (by just creating a new instance of SmtpClient()) - this way you can avoid the error checking before the send out.
NewsletterStudio - SMTP Office 365 - Connection NOT established
Hello, I'm trying to connect an outlook 365 account on the NewsletterStudio umbraco but the connection does not work, the error appears: "Error: Could not connect. Please check settings and credentials. Error message:Mailbox unavailable. The server response was: 5.7.60 SMTP; Client does not have permissions to send as this sender [VI1PR01MB0894.eurprd01.prod.exchangelabs.com]"
What is the problem? What data i have to put (SMTP and Port)? Could it be another error?
Waiting for an answer.
Thank you.
Hello,
I recently configured my umbraco installation to use office 365 too and found these settings to work; in the site web.config:
and in umbracoSettings.config
If you plan to use notifications (a good way to test if your email settings work, is to register for a notification (on publish for example) and publish.) Make sure your logged on user has a proper (existing) email address registered.
Hope that helps.
Hello. I tried this configuration. I put the email data in web.config and umbracoSettings.config as you said.
Now, in Umbraco NewsletterStudio in "Senter image description hereend Options" If I send a "Send out a test e-mail", works fine, i receive the email and appears de green label, but if a click on "Send e-mail right now" to a contact group (with one or more contacts), doesn't work, the email/newsletter is not sent and appears the red label with the error: "Error: Could not send due to validation errors in: Could not connect to the SMTP-server with name "smtp.office365.com". Please check your settings.".
How this is possible?
Can anyone please help me? Is very urgent. These are the print screens:
Hi Rodrigo,
If you click 'test connection' in Smtp Settings, gives that an error too?
I responded with regards to mail settings and office 365, perhaps the package author (Newsletter Studio) needs to step in for the package specific mail handling.
Hope for quick resolution, fica bem,
Sijmen
Hello.
Yes, If I click 'test connection' in Smtp Settings, gives me a error too:
Error: Could not connect. Please check settings and credentials. Error message:Mailbox unavailable. The server response was: 5.7.60 SMTP; Client does not have permissions to send as this sender [AM2PR01MB0882.eurprd01.prod.exchangelabs.com]
Yes, I hope for a fast solution... Just if I send a "Send out a test e-mail", works fine,
You can see the erro in the print:
Hi!
Looking at your error message from the server "Client does not have permissions to send as this sender" it seems like the SMTP does not allow you to send with a certain e-mail?
In this case you have two ways to solved this:
1. Set up a valid test e-mail
Change the "sendConnectionTestEmailsTo"-setting in /outgoingEmail in the /config/newsletterStudio.config-file. This setting is used as both sender and receiver when testing the connection to the server. Change this to a valid e-mail on your Office 365-mail server.
When this is set to a valid email the validation of the server will work.
2. Fallback on web.config
If you just remove all your SMTP-servers from the /config/newsletterStudio.config-file the package will fallback to the settings in the root web.config (by just creating a new instance of SmtpClient()) - this way you can avoid the error checking before the send out.
Hope this helps!
Hy! Thank you so much! Works now ;)
is working on a reply...