When I test the page I type in username and then the security question after clicking submit I get the this error -
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. 7sm2851101eyb.37
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. 7sm1892967eyb.21
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. 7sm1892967eyb.21
I looked at the link u sent on here but unfortunatelly it is not what i am looking for.
The problem is I get this message
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. 7sm1892967eyb.21
and actually I have no code at all except the smtp settings in web.config
shtrudel
Member
461 Points
537 Posts
PasswordRecovery control, web.config mail settings
Oct 04, 2009 10:56 AM|LINK
Hi there,
I am trying to use the PasswordRecovery control for password recovery.
I found the following code to put in web.config -
<system.net>
<mailSettings>
<smtp deliveryMethod="Network" from="xxxxxxx@gmail.com">
<network host="smtp.gmail.com"
password="xxxxxxx"
port="587"
defaultCredentials="true"
userName="xxxxxxx@gmail.com"/>
</smtp>
</mailSettings>
</system.net>
When I test the page I type in username and then the security question after clicking submit I get the this error -
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. 7sm2851101eyb.37
Is there anyone knows what the problem is ?
login password recovery mail settings
sukumarraju
All-Star
16985 Points
3001 Posts
Re: PasswordRecovery control, web.config mail settings
Oct 04, 2009 11:28 AM|LINK
Check your SMTP configuration settings against below
<smtp deliveryMethod="Network" from="youraddress@example.com"> <network host="smtp.example.com" userName="username" password="password" port="25" /> </smtp> </mailSettings>Check this tutorial to get your problem resolved.
Let me know further queries.
Thanks,
Application Architecture Guide 2.0
My Blog
Twitter
shtrudel
Member
461 Points
537 Posts
Re: PasswordRecovery control, web.config mail settings
Oct 04, 2009 12:11 PM|LINK
Thanx for the reply,
I tried it with these settings
<mailSettings>
<smtp deliveryMethod="Network" from="XXXXXX@gmail.com">
<network host="smtp.gmail.com"
userName="XXXXXX@gmail.com"
password="top secret"
port="587"
/>
</smtp>
</mailSettings>
and I get the error -
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. 7sm1892967eyb.21
sukumarraju
All-Star
16985 Points
3001 Posts
Re: PasswordRecovery control, web.config mail settings
Oct 04, 2009 12:56 PM|LINK
Refer this posting http://forums.asp.net/t/1082118.aspx
Application Architecture Guide 2.0
My Blog
Twitter
shtrudel
Member
461 Points
537 Posts
Re: PasswordRecovery control, web.config mail settings
Oct 05, 2009 07:59 PM|LINK
Thanks,
I looked at the link u sent on here but unfortunatelly it is not what i am looking for.
The problem is I get this message
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. 7sm1892967eyb.21
and actually I have no code at all except the smtp settings in web.config
<mailSettings>
<smtp deliveryMethod="Network" from="XXXXXX@gmail.com">
<network host="smtp.gmail.com"
userName="XXXXXX@gmail.com"
password="top secret"
port="587"
/>
</smtp>
</mailSettings>
shtrudel
Member
461 Points
537 Posts
Re: PasswordRecovery control, web.config mail settings
Oct 06, 2009 10:08 AM|LINK
Hi all,
I found this thread and it does answer my question,
http://forums.asp.net/t/1124257.aspx
Thanks