localhost or smtp?

Discussion in 'ASP.NET 2.0' started by jrahma, Aug 9, 2007.

  1. which one is better for sending emals on DiscountASP host




    SmtpClient smtp_client = new SmtpClient("localhost");





    or





    SmtpClient smtp_client = new SmtpClient("smtp.zatoor.com");
     
  2. DASP recommends using 'localhost' as the SMTP server when sending emails from your web applications .

    Vikram

    DiscountASP.NET
    www.DiscountASP.NET
     

Share This Page