Re: Setting up mail() for WinXX

From: Date: Wed, 21 Mar 2001 14:32:26 +0000
Subject: Re: Setting up mail() for WinXX
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-44950@lists.php.net to get a copy of this message
Why you are using IP address? (No DNS MX record for the host??) Anyway, SMTP server can work w/ IP address, but many programs tries to look up DNS MX records for SMTP server. I guess PHP trying to get MX records for the IP. I didn't look into code, I can easily be wrong. (SMTP server should have MX record(s), if it is configured properly.) Try to use name (i.e. mail.example.com) instead. Regards, -- Yasuo Ohgaki "Todd Cary" <todd@aristesoftware.com> wrote in message news:3AB7B2E0.8A2BC3D1@aristesoftware.com... > I am getting a "Failed to connect" error when I try to send an email. > In the php.ini, I have the IP of the ISP's mail server e.g. > > SMTP = 209.204.199.1 > > This IP works for other programs I use and for test programs I have > created with Delphi. > > Any suggestions?? > > Many thanks.......... > > Todd > > -- > Todd Cary > Ariste Software > todd@aristesoftware.com > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#44950) next »