Hi Rolando,
On Tue, Sep 9, 2008 at 6:19 AM, Rolando Martinez
<[EMAIL PROTECTED]> wrote:
> Hi,
> I would like what is way to send a mail. Currently I got the "time out"
> error message using this code:
> public static string sendMail ( string to, string cc,
> string subject, string body)
> {
>
> MailMessage mail = new MailMessage();
>
> mail.From = new MailAddress("[EMAIL PROTECTED]");
> mail.To.Add(to);
>
> mail.Subject = subject;
> mail.Body = body;
>
> SmtpClient smtp = new SmtpClient("smtp.uach.cl", 465);
>
> smtp.Credentials = new NetworkCredential("[EMAIL PROTECTED]",
> "xxxxx");
> smtp.Send(mail);
>
> return "email exitoso";
> }
>
> Any Ideas or alternatives solutions?
Does a telnet to smtp.uach.cl:465? Do this work with MS.net? Are
gmail.com users valid for this SMTP server?
> Regards,
> Rolando.
>
>
> _______________________________________________
> Mono-list maillist - [email protected]
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
--
Cheers,
Christian López Espínola <penyaskito>
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list