Timeout error

I'm using beta2 and I tried to follow the first thread code. All works fine, but I get a timeout on the line "smtp.Send(mailMessage)". I have tried some servers, all required SSL at port 465 and all fail. Can you help me? My code is below:

MailMessage mailMessage =newMailMessage();

mailMessage.To.Add(newMailAddress("a23619@alunos.det.ua.pt"));

mailMessage.Subject ="Exception occured";

mailMessage.From =newMailAddress("a23619@alunos.det.ua.pt");

mailMessage.Body ="Exception occured on: bla bla";

SmtpClient smtp =newSmtpClient("mail.ua.pt", 465);

smtp.EnableSsl =true;

smtp.Send(mailMessage);

[1708 byte] By [AndrMonteiro] at [2007-12-16]
# 1
Hi Andre -
Sorry for only getting to this thread now. If you're still around, are you still having this issue?

Thanks,
Karen

KarenLiuMSFT at 2007-9-9 > top of Msdn Tech,Visual C#,Visual C# General...
# 2
Do these servers require a spesific client certificate?
if so then you need to set the ClientCertificates Property.
else you may need to set UseDefaultCredentials = true;
rundkaas at 2007-9-9 > top of Msdn Tech,Visual C#,Visual C# General...