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" <[EMAIL PROTECTED]>
To: "NYPHP Talk" <talk@lists.nyphp.org>
Sent: Friday, September 14, 2007 2:32 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
_______________________________________________
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

Reply via email to