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
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