G
Giulio
Hi, I use this code to send an email:
System.Web.Mail.MailMessage myMail = new
System.Web.Mail.MailMessage();
myMail.Subject = "Mail di prova.";
myMail.Body = "Questa è una mail di test.";
myMail.To = "Tizio ";
myMail.From = "(e-mail address removed)";
//SmtpMail.SmtpServer = "mailserver";
SmtpMail.Send(myMail);
but it send nothing... even when I decomment the server
line.
Someone should tell me what I need to do?
System.Web.Mail.MailMessage myMail = new
System.Web.Mail.MailMessage();
myMail.Subject = "Mail di prova.";
myMail.Body = "Questa è una mail di test.";
myMail.To = "Tizio ";
myMail.From = "(e-mail address removed)";
//SmtpMail.SmtpServer = "mailserver";
SmtpMail.Send(myMail);
but it send nothing... even when I decomment the server
line.
Someone should tell me what I need to do?