Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / June 2007

Tip: Looking for answers? Try searching our database.

send an email

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bbawa1@yahoo.com - 14 Jun 2007 21:54 GMT
Hi,

Could you please send me code how to send an email in ASP.Net 2.0

Thanks in advance
Mark Rae - 14 Jun 2007 21:58 GMT
> Could you please send me code how to send an email in ASP.Net 2.0

http://www.systemnetmail.com/faq/1.3.aspx#1.3
http://www.systemnetmail.com/faq/3.aspx

Signature

http://www.markrae.net

bbawa1@yahoo.com - 14 Jun 2007 23:09 GMT
> <bba...@yahoo.com> wrote in message
>
[quoted text clipped - 5 lines]
>
> --http://www.markrae.net

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;
Juan T. Llibre - 14 Jun 2007 23:30 GMT
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/
======================================
>> <bba...@yahoo.com> wrote in message
>>
[quoted text clipped - 13 lines]
> smtpClient.Host = "localhost";
> smtpClient.Port = 25;
Mark Rae - 14 Jun 2007 23:40 GMT
> I don't know the IP address for smptserver.  Is there any way that I
> can use default IPaddress.
[quoted text clipped - 3 lines]
> smtpClient.Host = "localhost";
> smtpClient.Port = 25;

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

Signature

http://www.markrae.net

bbawa1@yahoo.com - 15 Jun 2007 00:04 GMT
> <bba...@yahoo.com> wrote in message
>
[quoted text clipped - 11 lines]
>
> --http://www.markrae.net

How can I come to know that localhost actually running an STMP server
Mark Rae - 15 Jun 2007 08:31 GMT
>> Is "localhost" actually running an SMTP server...
>
> How can I come to know that localhost actually running an SMTP server

What OS is it?

Signature

http://www.markrae.net

bbawa1@yahoo.com - 15 Jun 2007 18:34 GMT
> <bba...@yahoo.com> wrote in message
>
[quoted text clipped - 7 lines]
>
> --http://www.markrae.net

Mine is windows 2003
Mark Rae - 16 Jun 2007 11:24 GMT
>> >> Is "localhost" actually running an SMTP server...
>>
[quoted text clipped - 3 lines]
>>
> Mine is windows 2003

So go into Services and see if the SMTP service is running...

Signature

http://www.markrae.net


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.