Hi All
When submitting the contact form no errors but emails are not received at email set in the settings of the contact form.
See settings and Sys log below.
What did I try so far
- Verify that the user name pw for the email works by logging to a webmail page on that server
- Tried to change SMTPRequiresAuthentication to "true" but then I am getting another error: System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: SMTP authentication is required.
- Tried to change SMTPRequiresAuthentication to "true" but then I am getting another error: System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: SMTP authentication is required.
Any ideas on how to troubleshoot this or what am I doing wrong?
Thanks
Following is the web.config settings
<add key="SMTPServer" value="localhost"/>
<add key="SMTPRequiresAuthentication" value="false"/>
<add key="SMTPUseSsl" value="false"/>
<add key="SMTPPort" value="25"/>
<add key="SMTPUser" value="*******@neonatology-consultant.com"/>
<add key="SMTPPassword" value="*********"/>
Here is the error from System log:
2012-09-11 13:42:37,529 ERROR 173.170.59.102 - en-US - /contact-dr-alakaly.aspx - mojoPortal.Net.Email - all retries failed sending email to alalkalay@gmail.com from admin@neonatology-consultant.com, message was: Admin<br />joe.gunn@arvixe.com<br /><br /><p>
hello this is a test</p>
<br /><br />HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.10 (KHTML, like Gecko) Chrome/23.0.1262.0 Safari/537.10<br />REMOTE_HOST: 173.170.59.102<br />REMOTE_ADDR: 173.170.59.102<br />LOCAL_ADDR: 50.61.232.178<br />
System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: SMTP authentication is required.
at System.Net.Mail.RecipientCommand.CheckResponse(SmtpStatusCode statusCode, String response)
at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception)
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at mojoPortal.Net.Email.Send(SmtpSettings smtpSettings, MailMessage message)