Mahendren Myya

Mahendren Myya

  • NA
  • 26
  • 5k

sending mail through c#

Feb 23 2019 4:00 AM
i got a exception when send mail
 
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. s2sm7483493pfa.167 - gsmtp
 
i given Host,Port No, credentials correctly, but exception will be like this.
 
 
can anyone help me..

Answers (8)