note 56614 deleted from ref.mail by danbrown

From: Date: Sun, 17 May 2009 20:19:12 +0000
Subject: note 56614 deleted from ref.mail by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-155369@lists.php.net to get a copy of this message
Note Submitter: valeriogiuffrida at hotmail dot com ---- Sometimes using that headers: $header = "Return-Path: lostpass@website.net\n"; $header .= "X-Sender: lostpass@website.net\n"; $header .= "From: This is my website <lostpass@website.net>\n"; $header .= "X-Mailer:PHP 5.1\n"; $header .= "MIME-Version: 1.0\n"; Gmail and Hotmail could consider it as "spam", so I just inserted before to send email: ini_set(sendmail_from, "lostpass@mywebsite.net"); and ini_restore after it...

« previous php.notes (#155369) next »