Hi I have two sites running on Umbraco and a problem inviting Users (sending email).
One site runs on version 8.9.1 and sends email correctly, the other one runs on 8.10.0 they are both hosted on Azure and use the same smtp and credentials.
The error (version 8.10.0) in log is: Unhandled controller exception occurred for request '"https://XXXXX.azurewebsites.net/umbraco/backoffice/UmbracoApi/Users/PostInviteUser"'
System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond .
looks like you smtp doens't respond, you should check SMTP settings in you web.config
<system.net>
<mailSettings>
<!--
If you need Umbraco to send out system mails (like reset password and invite user),
you must configure your SMTP settings here - for example:
-->
<!--
<smtp from="[email protected]" deliveryMethod="Network">
<network host="localhost" port="25" enableSsl="false" userName="" password="" />
</smtp>
-->
</mailSettings>
</system.net>
SMTP Error when inviting a User
Hi I have two sites running on Umbraco and a problem inviting Users (sending email).
One site runs on version 8.9.1 and sends email correctly, the other one runs on 8.10.0 they are both hosted on Azure and use the same smtp and credentials.
The error (version 8.10.0) in log is: Unhandled controller exception occurred for request '"https://XXXXX.azurewebsites.net/umbraco/backoffice/UmbracoApi/Users/PostInviteUser"'
System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond .
Any suggestion?
looks like you smtp doens't respond, you should check SMTP settings in you web.config
is working on a reply...