Hi,
I'm troubleshooting contact form for sending email,i use Google settings but i didn't get it work till now
2011-01-17 08:15:52,373 ERROR mojoPortal.Net.Email - error sending email to ********@gmail.com from ********@gmail.com, will retry
2011-01-17 08:15:55,826 ERROR mojoPortal.Net.Email - all retries failed sending email to ********@gmail.com from ********@gmail.com, message was: Admin<br />********@gmail.com<br /><br /><p>
Test Text Messege</p>
<br /><br />HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10<br />REMOTE_HOST: 94.59.80.136<br />REMOTE_ADDR: 94.59.80.136<br />LOCAL_ADDR: 50.6.247.90<br />
System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. y17sm2904043qci.33
at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, String from)
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, String from, String replyTo, String to, String cc, String bcc, String subject, String messageBody, Boolean html, String priority, String[] attachmentPaths, String[] attachmentNames)
---------------------------------------------------
<add key="DisableDotNetOpenMail" value="true"/>
<add key="SMTPServer" value="smtp.gmail.com" />
<add key="SMTPRequiresAuthentication" value="true" />
<add key="SMTPPort" value="587" />
<add key="SMTPUser" value="*******@gmail.com" />
<add key="SMTPPassword" value="*******" />
<add key="SMTPUseSsl" value="true" />
<add key="SMTPTimeoutInMilliseconds" value="30000"/>
---------------------------------------------------
<smtp from="*******@gmail.com">
<network host="DEVPC" port="587" password="1qaz@2WSX" userName="********@gmail.com"/>
</smtp>
---------------------------------------------------
Site Administration --> site settings -->Email Address(es) To Receive Submissions = ********@gmail.com
---------------------------------------------------
Contact form settings -->Email Address(es) To Receive Submissions = *******@gmail.com
---------------------------------------------------
Email is same in all places
---------------------------------------------------
Please help...
Ahmad