On Tue, 2008-11-11 at 11:29 -0500, Abe Gillespie wrote:
> I've successfully used the ICertificatePolicy hack before to connect
> to https but this doesn't seem to work for sending Gmail. Please see
> the following code:
[...]
>
> // Send the message.
> SmtpClient smtp = new SmtpClient("smtp.gmail.com");
> smtp.EnableSsl = true;
Try adding: "smtp.Port = 587;" there. It works fine for me that way.
-Gonzalo
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list