Re: [PHP] Re: Mail Functions help

2004-09-01 Thread John Holmes
From: [EMAIL PROTECTED]
Did it work? So if I put smtp.comcast.net in php.ini should my e-mail 
script
work?
I don't know about you, but my magic-php-8-ball says Yes!
http://www.amazon.com/exec/obidos/ASIN/B1ZWV7/indrasnet/002-7362067-2944804
Make sure you restart your webserver after the php.ini change, of course.
---John Holmes... 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Re: Mail Functions help

2004-09-01 Thread Jason Wong
On Wednesday 01 September 2004 22:50, [EMAIL PROTECTED] wrote:
 I did some research and found out that my ISP's SMTP server is
 smtp.comcast.net.

That's what we like to see.

 If I configure my mail functions to connect to this should my script be
 able to send e-mails?

 Research and Experimentation (yes, I did some!):

Yep, you're getting there ...

 I tried connecting to it using this telnet command:

 telnet smtp.comcast.net

If you don't specify a port number telnet will default to the 'telnet' port 
which is 23.

 But I got this:

 Connecting to smtp.comcast.net..could not connect to smtp.comcast.net on
 port 23. A connecting attempt failed because the connection party did not
 properly respond after a period of time..

 Then I tried this:

 telnet smtp.comcast.net 25

 A new window popped up and said this:

 220 Comcast.net - Mailennium ESMTP/Multibox rwcrmhc11 #140

 Did it work? So if I put smtp.comcast.net in php.ini should my e-mail
 script work?

Yes it would work, providing that:

1) that the machine which you tried the telnet on is the same as your 
webserver

2) Comcast really is your upstream provider and allows you to relay (send) 
mail through smtp.comcast.net

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
The perversity of nature is nowhere better demonstrated by the fact that, when
exposed to the same atmosphere, bread becomes hard while crackers become soft.
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php