I've a problem sending mail from Umbraco CMS. I get the attached error when I send the email. In the web config I tried to use these values for my smtp connection
<add key="umbracoSmtpServer" value="mail.ultimahosts.com" />
I don't know how to set this to work with login and password. Any help is greatly appreciated
The requested name is valid, but no data of the requested type was
found
Description:
An unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the error and
where it originated in the code.
Exception Details:
System.Net.Sockets.SocketException: The requested name is valid, but no data
of the requested type was found
Source Error:
| An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
|
Stack Trace:
[SocketException (0x2afc): The requested name is valid, but no data of the requested type was found] System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6) +362 System.Net.Dns.Resolve(String hostName) +162 DotNetOpenMail.SmtpServer.GetIPEndPoint() +31 DotNetOpenMail.SmtpProxy.Open() +39 DotNetOpenMail.SmtpServer.Send(ISendableMessage emailMessage, EmailAddressCollection rcpttocollection, EmailAddress mailfrom) +101
|