Unable to send email to Hotmail

Discussion in 'ASP.NET 2.0' started by cioina, Jun 11, 2008.

  1. Hi,


    if you can send email to yahoo account then don't worry about hotmail because sometimes it doesn't work. I also had this problem.


    Best regards.


    Alexei Cioina.


    http://www.californiadreamhomesandland.com
     
  2. Possibly hotmail is just tagging it as spam.Check the junk folder as well.Possibly the content of the email is causing an issue with just hotmail.

    Vikram

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. Hi,

    I have checked the junk folder the email never reaches. I think there is need to add some headers with email so that hotmail can recognize it but I am not sure which headers.

    Regards
    Ahmad
     
  4. Hi!

    I have used System.Net.Mail and System.Web.Mail using C# to sent mail to gmail, yahoo and hotmail email addresses but its not send email to hotmail addresses is there any additional header is to be added with email.

    Please help, looking forward.

    Best Regards
    Ahmad
     
  5. Just for the record...The Hotmail account I use here, wisemx, has never flagged my SmarterMail.
    I use it to test sending and receiving with no problems.
    Other than that I don't have anything to report. [​IMG]
     
  6. Well I am using following code to send email to hotmail address

    System.Web.Mail.MailMessage mail = new System.Web.Mail.MailMessage();
    mail.To = '[email protected]';
    mail.From = '[email protected]';
    mail.BodyFormat = System.Web.Mail.MailFormat.Text;
    mail.Subject = 'test';
    mail.Body = 'test body';



    System.Web.Mail.SmtpMail.SmtpServer = 'localhost';
    System.Web.Mail.SmtpMail.Send(mail);

    You can try this code to send email to yahoo, gmail and hotmail. Its unable to reach at hotmail.

    /Ahmad
     
  7. Want to try it withSystem.Net.Mail ?
    http://www.systemnetmail.com/

    This is the code I use here. . .

    Web.config:

     

Share This Page