Mark Uy

Mark Uy

  • NA
  • 130
  • 0

gmail as smtp (one of my last newbie questions)

Dec 4 2009 12:49 PM
im finally near the end point of my thesis (yehey! thanks for the people who have been helpful here).

anyway i was trying to use gmail as my smtp service on the server configuration. i need it to retrieve the password in case a user forgets his password.

problem is im getting 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. 23sm155884pxi.5

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. 23sm155884pxi.5

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. 23sm155884pxi.5

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 below.

Stack Trace:

______________________________________________________________________________

i have no clue how to fix this error. please help! thanks in advance.



Answers (12)