* Thus wrote Wudi:
> Script:
> <?php
> mail('[EMAIL PROTECTED]', 'Subject', 'Message', "From: [EMAIL PROTECTED]");
> ?>
> 
> Result:
> Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom 
> "From:" header missing in D:\ApacheData\htdocs\downloader\mail.php on line 2
> 
> Why does the mail() not work?
> How can I send a e-mail without SMTP?

sendmail_from is required to be filled out. You need to specify in
your ini a valid sendmail_from, or use ini_set('sendmail_from',
'[EMAIL PROTECTED]') before your call your mail() function


Curt
-- 
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

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

Reply via email to