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 / Windows Forms / WinForm General / August 2006

Tip: Looking for answers? Try searching our database.

Urgent Help - SMTP mail

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nicol - 16 Aug 2006 07:42 GMT
I have created the send mail application in console application of c#.net
1. When I set my smtp server as some ip address which is a smtp server and
when the smtp runs in my local machine where my exe resides, the mail is sent
perfectly.

2. When i specify the ip address of some amtp server in my intranet and when
the smtp server is not configured in my local machine whre my exe resides,
the send mail fails.

My doubts:
1. Eventhough i sent it to the correct ip address of local intranet which is
having amtp server , why it is not working?
2. Does it expect to run smtp service in the local machine?
3. Whether smtp has to be configured in local machine. But logically it
should not be the case. It should work eventhough the smtp is not configured
in the local machine and if it is configured in any other machine which is
having amtp server

4. some of the sites specified that the smtp server should be hard coded as
"localhost". Is it so?

Please help me ASAP. Its urgent
Morten Wennevik - 16 Aug 2006 07:47 GMT
Hi Nicol,

I'm guessing the SMTP server needs to be configured to relay mail you  
create.

> I have created the send mail application in console application of c#.net
> 1. When I set my smtp server as some ip address which is a smtp server  
[quoted text clipped - 26 lines]
>
> Please help me ASAP. Its urgent

Signature

Happy Coding!
Morten Wennevik [C# MVP]

Michael C - 16 Aug 2006 08:10 GMT
> 4. some of the sites specified that the smtp server should be hard coded
> as
> "localhost". Is it so?

No, specifying the IP address is correct and should work.

> Please help me ASAP. Its urgent

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.