Gmail Error :The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required

后端 未结 25 2402
悲&欢浪女
悲&欢浪女 2020-11-22 02:12

I am using following code to send email. The Code works correctly in my local Machine. But on Production server i am getting the error message

var fromAddres         


        
25条回答
  •  无人及你
    2020-11-22 03:05

    dont put break-point before await smtp.SendMailAsync(mail);

    :)

    when it waits with a break point giving this error when i remove break point it has worked

提交回复
热议问题