Open mostafavb opened 2 years ago
@mostafavb you could try using FluentEmail.MailKit instead of FluentEmail.Smtp.
FluentEmail.MailKit is the current recommendation from Microsoft and was the only method of getting SMTP over port 587 working. In my case, it seemed like FluentEmail.Smtp could not properly negotiate which SSL / TLS encryption should be used for the connection and caused the same error you are seeing.
I am using FluentEmail in Asp.Net project on .netframework 4.8, when I want to use SendAsync method I get this error:
"The server committed a protocol violation The server response was: "
there is nothing anymore to give more information about this error.
` SmtpSender smtpSender =
`