4

I can send email with Explicit SSL in C# with SmtpClient, but i cannot send by Implicit SSL(TLS). are there any solution for this.

I want yo use yahoo mail to send a message from my C# program.

user2352554
  • 521
  • 4
  • 17
  • This is probably a duplicate of http://stackoverflow.com/questions/2057227/c-sharp-asp-net-send-email-via-tls – Ferdinand Swaters May 15 '16 at 11:18
  • You can use explicit TLS with yahoo on port 587, see https://help.yahoo.com/kb/SLN4075.html. – Steffen Ullrich May 15 '16 at 11:46
  • no. i can't. the c sharp code cannot send on port 587. the error is: "Fauiler sending message" – user2352554 May 15 '16 at 11:50
  • A short tests (w/o C#) shows that using explicit TLS with smtp.mail.yahoo.com:587 works and there are also [examples for this in C#](http://www.codeproject.com/Tips/520998/Send-Email-from-Yahoo-GMail-Hotmail-Csharp). So it might be a problem with your code instead. – Steffen Ullrich May 15 '16 at 12:14

0 Answers0