Posted on: 11/8/2013 8:42:56 PM | Views : 988

Hi, 
I'm trying to send an email using hotmail account. In my localhost works fine, but when I publish the web to the hosting (arvixe.com) and try to send an email, I give this error:
mailbox unavailable. the server response was 5.7.3 requested action aborted user not authenticated
The code is the next one:
System.Net.Mail.MailMessage msg = new System.Net.Mail.MailMessage(); msg.To.Add("roqueorts@hotmail.com"); string remitente = "ofersalud@ofersalud.com"; msg.From = new MailAddress(remitente, "OFERSALUD", System.Text.Encoding.UTF8); msg.Subject = "Invitación a ofersalud"; msg.SubjectEncoding = System.Text.Encoding.UTF8; msg.Body = "holaaaa";// emailHtml.ToString(); msg.BodyEncoding = System.Text.Encoding.UTF8; SmtpClient client = new SmtpClient(); client.Credentials = new System.Net.NetworkCredential("roqueorts@hotmail.com", "xxxxxx" ...

Go to the complete details ...