NYCPHP Meetup

NYPHP.org

[nycphp-talk] Emailing from a PHP script

Jason Sia jsia18 at yahoo.com
Fri Sep 14 20:24:26 EDT 2007


Based on experience, a lot of ISPs are blocking external access to their SMTPs.  However, you could also try using your ISPs SMTP

----- Original Message ----
From: Ajai Khattri <ajai at bitblit.net>
To: NYPHP Talk <talk at lists.nyphp.org>
Sent: Saturday, September 15, 2007 1:57:14 AM
Subject: Re: [nycphp-talk] Emailing from a PHP script

On Fri, 14 Sep 2007, PaulCheung wrote:

> Thanks for the solution. I've tried it and it did not work for me
> changed php.ini to reflect change rebooted my system. Don't really understand why it is necessary to download QK SMTP 
> Has all my problems been something to do with XAMPP under windows??

Do you know how SMTP works? If you are trying to send through localhost, 
then PHP expects to be able to connect to port 25 on localhost and talk 
SMTP to it to send the email.

If you are using your ISPs mail server to send the email, then I would 
test from the command-line by telnetting to port 25 if your ISPs mail 
server and trying to send an email via SMTP.

If you can't connect to port 25 then I would check for things like 
firewall settings or whatever "security" suite you have running.


-- 
Aj.

_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php






Send instant messages to your online friends http://uk.messenger.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070914/a76e2a6b/attachment.html>


More information about the talk mailing list