1

I'm trying to write the send mail program using System.Net.Mail which is the latest in C# to send an email. Unfortunately this only support explicit(TLS/SSL) and not implicit(SSL), the predicated library System.Web.Mail on the other hand supports implicit SSL.

After Googling and searching on StackOverflow, I came across a very useful answer HERE

So now I'm able to send my test email to yahoo and gmail using their smtp server below. However, i can't confirm if Yahoo uses implicit SSL and Gmail uses explicit, please help:

Yahoo: smtp server: smtp.mail.yahoo.com port: 465

Gmail: smtp server: smtp.gmail.com port 465 or 587

Community
  • 1
  • 1
Fylix
  • 2,119
  • 2
  • 32
  • 57
  • Was my answer below acceptable? If so, please accept as answer. If not, please let me know what I can do to clarify or improve it for you. – Deep in the Code Mar 01 '13 at 16:06
  • 1
    Sorry for the late reply David, I was just trying to do more research on the whole explicit and implicit ssl. You answered my question, thank you :) – Fylix Mar 05 '13 at 21:37

1 Answers1

3

This article contains your answer:

http://blog.falafel.com/blogs/john-waters/2011/03/15/the_different_flavors_of_secure_smtp_and_ssl

Both services support both implicit and explicit SSL:

"Even though Implicit SSL is not standardized, you may as well get used to it. Yahoo mail uses it on port 465, as does Google gmail. But both these servers also provide Explicit SSL support on port 587, so you can chose what fits your needs."

Deep in the Code
  • 497
  • 1
  • 5
  • 17