|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-09-29 05:36 UTC] sniper@php.net
[2003-09-29 05:39 UTC] reveille187 at hotmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 05:00:01 2025 UTC |
Description: ------------ 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 you@example.com where my real address is me@example.com. Reproduce code: --------------- <?php ini_set("SMTP", "smtp.example.com"); ini_set("sendmail_from", "you@example.com"); mail("me@example.com", "Hate mail subject", "Body Text"); ?> Expected result: ---------------- An email in my inbox from you. Actual result: -------------- Same as above.