In order to send a mail you need SMTP QK SMTP acts as your SMTP server I use it for with WAMP instead of XAMPP.
----- Original Message ---- From: PaulCheung <[EMAIL PROTECTED]> To: NYPHP Talk <talk@lists.nyphp.org> Sent: Friday, September 14, 2007 11:34:56 PM Subject: Re: [nyphp-talk] Emailing from a PHP script DIV { MARGIN:0px;} 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?? Paul ----- Original Message ----- From: Jason Sia To: NYPHP Talk Sent: Friday, September 14, 2007 4:00 PM Subject: Re: [nyphp-talk] Emailing from a PHP script ok that will not really work you should use SMTP=localhost then download QK SMTP Server to make this work. ----- Original Message ---- From: PaulCheung <[EMAIL PROTECTED]> To: NYPHP Talk <talk@lists.nyphp.org> Sent: Friday, September 14, 2007 10:37:11 PM Subject: Re: [nyphp-talk] Emailing from a PHP script DIV { MARGIN:0px;} Yes, that is correct. Has this anything to do with my problem? ----- Original Message ----- From: Jason Sia To: NYPHP Talk Sent: Friday, September 14, 2007 3:24 PM Subject: Re: [nyphp-talk] Emailing from a PHP script you are just using XAMPP for windows right? ----- Original Message ---- From: Ken Robinson <[EMAIL PROTECTED]> To: NYPHP Talk <talk@lists.nyphp.org> Sent: Friday, September 14, 2007 9:32:07 PM Subject: Re: [nyphp-talk] Emailing from a PHP script At 09:09 AM 9/14/2007, PaulCheung wrote: >Can anybody see what I am doing wrong?? > >I have set php.ini (as per the manual) to my email settings >====================================== >[mail function] >; For Win32 only. >SMTP = smtp.tiscali.co.uk >smtp_port = 25 > >; For Win32 only. >sendmail_from = [EMAIL PROTECTED] >======================================================== >I run the script and the following message appears Did you restart your web server (Apache?) after making the changes to the PHP.INI file? This has to be done for the changes to take affect. Ken _______________________________________________ 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 _______________________________________________ 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 _______________________________________________ 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
_______________________________________________ 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