send an email

  • Thread starter Thread starter bbawa1
  • Start date Start date
If you have configured an smtp server in your computer,
you can use a variety of ways to call it.

1. localhost
2. 127.0.0.1
3. your machine's name ( I use this one... )

They all work, depending on how your TCP/IP stack is configured.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
 
I don't know the IP address for smptserver. Is there any way that I
can use default IPaddress.
e.g I tried the following but it doesn't work

SmtpClient smtpClient = new SmtpClient();
smtpClient.Host = "localhost";
smtpClient.Port = 25;

Is "localhost" actually running an STMP server...
 
Back
Top