|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25683 Send mail from any address
Submitted: 2003-09-29 03:26 UTC Modified: 2003-09-29 05:39 UTC
From: reveille187 at hotmail dot com Assigned:
Status: Not a bug Package: Mail related
PHP Version: 4.3.2 OS: win32 xp sp1
Private report: No CVE-ID: None
 [2003-09-29 03:26 UTC] reveille187 at hotmail dot com
I'm not sure if anyone else noticed this... I run php 4.3.2 on my windows xp pc with apache 1.3. I don't have a domain name, and while exploring options on how to send mail from my pc, I found out you could send email from any address to anyone else without knowing thier password. Eg/ I could send hate mail from where my real address is

Reproduce code:
ini_set("SMTP", "");
ini_set("sendmail_from", "");
mail("", "Hate mail subject", "Body Text");

Expected result:
An email in my inbox from you.

Actual result:
Same as above.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-29 05:36 UTC]
RTFM. It's feature, not bug. 

 [2003-09-29 05:39 UTC] reveille187 at hotmail dot com
just checking, someone can cause some nice havoc with that feature. sorry.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 15 06:01:31 2024 UTC