php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13483 Mail being sent twice
Submitted: 2001-09-28 14:04 UTC Modified: 2001-11-10 08:44 UTC
From: tnguyen at scpie dot com Assigned:
Status: Closed Package: Mail related
PHP Version: 4.0.6 OS:
Private report: No CVE-ID: None
 [2001-09-28 14:04 UTC] tnguyen at scpie dot com
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?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-09-28 16:12 UTC] sander@php.net
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-10-01 12:46 UTC] sander@php.net
=======User input=======
The script I am testing:

<?
$recipient = "webmaster@test.com";
$subject = "Subject";
$message = "Message";
$header = "From: test@test.com";

mail($recipient, $subject, $message, $header);

?>

I am running this on Windows using smtp.
========================
 [2001-10-20 21:30 UTC] sniper@php.net
What email address in php.ini are you referring to?
Please include these lines from your php.ini:

sendmail_from 
sendmail_path

 [2001-11-10 08:44 UTC] sander@php.net
No feedback. Closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 21:01:28 2024 UTC