|
ECS Home Automation and Security Archives |
learn more
| view messages for this
month | NetBloc® | terms of use | search
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects
Subject: From: Date: | Re: how does one determine the IP address of an SMTP mail server ? Ingo Pakleppa 24 Sep 2003 02:09:38 -0700 |
Given what information, and in which context?
Usually, your ISP would give you the name of their SMTP server (and that
is the only one you would be allowed to connect to; any other SMTP
server is essentially off limits for spam and virus control reasons).
To get the IP address, you simply have to do a DNS lookup. For instance,
in C, you would call gethostbyname(). In Java, use the java.net classes.
On the Linux shell, use "host" to resolve the name.
On Tue, 2003-09-23 at 13:07, ecs-digest-help@netbloc.com wrote:
> From: Mark Gilmore <mark@markgilmore.net>
> To: ecs@netbloc.com
> Subject: how does one determine the IP address of an SMTP mail server ?
> Date: 23 Sep 2003 13:07:15 -0700
>
> thanks,
>
> Mark Gilmore
> http://OmnipotenceSoftware.com
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects