ID: 13483 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Mail related Operating System: PHP Version: 4.0.6 New Comment:
What email address in php.ini are you referring to? Please include these lines from your php.ini: sendmail_from sendmail_path Previous Comments: ------------------------------------------------------------------------ [2001-10-01 12:46:26] [EMAIL PROTECTED] =======User input======= The script I am testing: <? $recipient = "[EMAIL PROTECTED]"; $subject = "Subject"; $message = "Message"; $header = "From: [EMAIL PROTECTED]"; mail($recipient, $subject, $message, $header); ?> I am running this on Windows using smtp. ======================== ------------------------------------------------------------------------ [2001-09-28 16:12:55] [EMAIL PROTECTED] Can you post a sample script? Do you run PHP on Windows (using SMTP) or do you run it on Unix or Linux (using sendmail or equivalent)? Also, can you post your configure line (if you're not on Windows)? ------------------------------------------------------------------------ [2001-09-28 14:04:30] [EMAIL PROTECTED] Everytime I use the mail function, I get an email from the correct person and the email address I specified in the php.ini file. Any reason why this is happening? ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13483&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]