Contact form email not sending - help troublshoot

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
9/11/2012 4:08:59 PM
Gravatar
Total Posts 8

Contact form email not sending - help troublshoot

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)

9/11/2012 10:45:46 PM
Gravatar
Total Posts 192

Re: Contact form email not sending - help troublshoot

try changing <add key="SMTPUseSsl" value="false"/> to

<add key="SMTPUseSsl" value="true"/>

You must sign in to post in the forums. This thread is closed to new posts.