Urgent Help - SMTP mail

G

Guest

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
 
M

Morten Wennevik

Hi Nicol,

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

Michael C

Nicol said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top