note 68637 added to function.mail

From: Date: Fri, 04 Aug 2006 09:41:25 +0000
Subject: note 68637 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-115539@lists.php.net to get a copy of this message
Just because I spent a lot of time on it: some mail providers such as hotmail mark php-generated e-mails as spam and they delete them (or they just put the message in a "Spam folder"). This is because the headers miss a Return-Path. Just add this line 'Return-Path: ' . $sender_address . "\n" to your header and then everything should work! ---- Server IP: 80.241.173.254 Probable Submitter: 84.221.211.22 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- https://master.php.net/note/edit/68637 Del: integrated -- https://master.php.net/note/delete/68637/integrated Del: useless -- https://master.php.net/note/delete/68637/useless Del: bad code -- https://master.php.net/note/delete/68637/bad+code Del: spam -- https://master.php.net/note/delete/68637/spam Del: non-english -- https://master.php.net/note/delete/68637/non-english Del: in docs -- https://master.php.net/note/delete/68637/in+docs Del: other reasons-- https://master.php.net/note/delete/68637 Reject -- https://master.php.net/note/reject/68637 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#115539) next »