PDA

View Full Version : localhost or smtp?


jrahma
08-09-2007, 01:00 AM
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");

vvsharma
08-09-2007, 02:25 AM
DASP recommends using 'localhost' as the SMTP server when sending emails from your web applications .

Vikram

DiscountASP.NET
www.DiscountASP.NET (http://www.discountasp.net/)