NYCPHP Meetup

NYPHP.org

[nycphp-talk] Emailing from a PHP script

PaulCheung paulcheung at tiscali.co.uk
Fri Sep 14 09:42:36 EDT 2007


Yes I did that and the direction to localhost disappeared and I got the 
following message

Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or 
custom "From:" header missing in C:\xampp\htdocs\tp_access.php on line 61

----- Original Message ----- 
From: "Ken Robinson" <kenrbnsn at rbnsn.com>
To: "NYPHP Talk" <talk at lists.nyphp.org>
Sent: Friday, September 14, 2007 2:32 PM
Subject: Re: [nycphp-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 = paulcheung at tiscali.co.uk
>>========================================================
>>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 



More information about the talk mailing list