Forgot Password Template error...

Posted by Suniluc under ASP.NET on 3/14/2013 | Points: 10 | Views : 1208 | Status : [Member] | Replies : 1
I tried to use forgot password template.. now i am getting the following error.

Server Error in '/' Application.
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. xf4sm6551358igb.8 - gsmtp
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: 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. xf4sm6551358igb.8 - gsmtp

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace bel
ow.

I am using the following code in webconfig
<system.net>
<mailSettings>
<smtp deliveryMethod="Network" from="email@gmail.com">
<network
host="smtp.gmail.com"
userName="username"
password="password"
port="25" />
</smtp>
</mailSettings>
</system.net>





Responses

Posted by: Suniluc on: 3/14/2013 [Member] Starter | Points: 25

Up
0
Down
Any one know what is the problem? is there any one to help me?

Suniluc, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response