Nope, same problem.  Are you sure you don't already have the proper
certificates installed and it would therefore succeed?

-Abe

On Tue, Nov 11, 2008 at 11:33 AM, Gonzalo Paniagua Javier
<[EMAIL PROTECTED]> wrote:
> 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

Reply via email to