Re: How to obtain server info?
- From: "Mark F." <reply2group@xxxxxxxxxx>
- Date: Tue, 18 Sep 2007 07:58:05 -0500
"Mehdi" <med.anooshe@xxxxxxxxx> wrote in message
news:1190100052.543660.202260@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
hi it's not clear for me that what do u want exactly?
do u want to find Ip addres Of an smtp server?
do u familier whit dns ?
in dns server and in Record Mx of each dns server you can fine name
of
smtp server
i dont know it is your answer or not but i glad to help ypu if you
want.
mehdi
My program (Windows Form Application NOT a web page) needs to send
information to my email from the user's machine. In order to do that using
the System.Net namspace methods, I have to set the SMTP Server name or IP
address in the 'Host' property. For example.
SmtpClient client = new SmtpClient();
client.Host = SMTPServerName; // server name or ip, as string
client.Port = 25;
client.Send(msg);
I want to know how to get the user's ISP SMTP server. Obtaining it from the
registry is not reliable on every machine.
Mark
.
- Follow-Ups:
- Re: How to obtain server info?
- From: Cor Ligthert[MVP]
- Re: How to obtain server info?
- From: J.B. Moreno
- Re: How to obtain server info?
- References:
- How to obtain server info?
- From: Mark F.
- Re: How to obtain server info?
- From: Mehdi
- How to obtain server info?
- Prev by Date: Re: RichTextBox and keyword tooltipping...
- Next by Date: Re: How do I upload files using remoting?
- Previous by thread: Re: How to obtain server info?
- Next by thread: Re: How to obtain server info?
- Index(es):
Relevant Pages
|