I have a login control on my webpage along with a RecoverPassword control.
I have the following code inside of web.config
<system.net>
<mailSettings>
<smtp from="[email protected]">
<network host="smtp.gmail.com" password="XXXXXXX" port="587"
userName="[email protected]" />
</smtp>
</mailSettings>
</system.net>
The error that I keep recieving is: 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. 35sm26203922ibs.22
Any Ideas?