A
Alejandro Kwiatkowski
MailMessage message = new MailMessage();
message.From = new MailAddress("(e-mail address removed)","Alejandro");
message.To.Add("(e-mail address removed)");
message.Subject = "Something";
message.Body = "Something else";
NetworkCredential nc = new NetworkCredential("ekaak", "xxx");
SmtpClient mailClient = new SmtpClient("mail.kwarp.com.ar", 25);
mailClient.Credentials = nc;
try
{
mailClient.Send(message);
}
catch (SmtpException ex)
{
Console.WriteLine(ex.StatusCode); // ->GeneralFailure
}
Any Ideas?
Thanks you
message.From = new MailAddress("(e-mail address removed)","Alejandro");
message.To.Add("(e-mail address removed)");
message.Subject = "Something";
message.Body = "Something else";
NetworkCredential nc = new NetworkCredential("ekaak", "xxx");
SmtpClient mailClient = new SmtpClient("mail.kwarp.com.ar", 25);
mailClient.Credentials = nc;
try
{
mailClient.Send(message);
}
catch (SmtpException ex)
{
Console.WriteLine(ex.StatusCode); // ->GeneralFailure
}
Any Ideas?
Thanks you