I have an Asp.Net site which uses google SMTP to send emails.. its working fine with normal gmail accounts using the below configuration
<smtp from="myname@gmail.com">
<network host="smtp.gmail.com" port="587" userName="myname@gmail.com" password="mypassword" enableSsl="true" /></smtp>
Now I need to use Google Apps email and smtp and I tried to change the configuration as shown below
<smtp from="myname@mydomain.com">
<network host="smtp.gmail.com" port="587" userName="myname@mydomain.com" password="mypassword" enableSsl="true" /> </smtp>
But its throwing the Authentication failed error!!!
"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"
I double checked the Google EMail Settings, Username and password but still couldn't solve it!!
Any thoughts on the issue will be a great help..
Thanks and Regards,
Anz