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?

Regards,
Rolando.
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to