Hi joe
This is swetha,
iam not getting any mails from other users as iam admin of the page. And These below settings are working fine in local machine but on server side its not working
Here is my user.config setting
<add key="SMTPServer" value="smtp.gmail.com" />
<add key="SMTPRequiresAuthentication" value="true" />
<add key="SMTPPort" value="587" />
<add key="SMTPUser" value="myID@gmail.com" />
<add key="SMTPPassword" value="myPWD" />
<add key="SMTPUseSsl" value="true" />
<add key="EnableSiteSettingsSmtpSettings" value="false" />
<add key="SMTPTimeoutInMilliseconds" value="180000" />
=====================================================================================================
And Here is My Web.config settings
<system.net>
<mailSettings>
<smtp from="myID@gmail.com">
<network host="smtp.gmail.com" port="587" password="myPWD" userName="myID@gmail.com" />
</smtp>
</mailSettings>
</system.net>
==================================================================================
In Contact form Settings
Email Address(es) To Receive Submissions:- myID@gmail.com
==================================================================================
In AdminSetting->Site Email From Address :-myID@gmail.com
========================================================================================================
In System log the following errros:-
2014-06-16 02:17:01,555 ERROR 49.204.226.50 - en-US - /contact - mojoPortal.Net.Email -
all retries failed sending email to myID@gmail.com from myID@gmail.com, message was: Admina<br />UserID@gmail.com<br /><br /><p>aaaa</p>
<br /><br />HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36<br />REMOTE_HOST: 49.204.226.50<br />REMOTE_ADDR: 49.204.226.50<br />LOCAL_ADDR: 23.91.123.136<br />
System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at
at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, MailAddress from, Boolean allowUnicode)
at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at mojoPortal.Net.Email.Send(SmtpSettings smtpSettings, MailMessage message)
Can Any Body Help me out with these problem.
Best Regards
Swetha