Re: [PHP] mail() and Verizon
The solution was a simple -f (see it in the extra headers just before the last [EMAIL PROTECTED]). Sets the envelope sender address when using sendmail with the -f sendmail option. mail([EMAIL PROTECTED], [EMAIL PROTECTED], Testing the simple mail functions, Did you get this one?, From: [EMAIL PROTECTED] \n, [EMAIL PROTECTED]); I believe the problem is that Verizon checks the MAIL FROM address during the SMTP session against the domain portion of the From header. If they don't match, the mail is rejected (or dropped). This was an issue for a webboard I use... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] mail() and Verizon
The solution was a simple -f (see it in the extra headers just before the last [EMAIL PROTECTED]). Sets the envelope sender address when using sendmail with the -f sendmail option. mail([EMAIL PROTECTED], [EMAIL PROTECTED], Testing the simple mail functions, Did you get this one?, From: [EMAIL PROTECTED] \n, [EMAIL PROTECTED]); I believe the problem is that Verizon checks the MAIL FROM address during the SMTP session against the domain portion of the From header. If they don't match, the mail is rejected (or dropped). This was an issue for a webboard I use... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] mail() and Verizon
Can anyone tell why the mail (see below) is not being relayed to [EMAIL PROTECTED]: #Note: There were 2 To: addresses. Below is the header from the successful mail to the second address. header Return-Path: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: (qmail 70862 invoked by uid 399); 1 Oct 2004 00:49:10 - Received: from unknown (HELO web2.nsservers.org) (204.118.173.14) by mail.nsservers.org with SMTP; 1 Oct 2004 00:49:10 - Received: from web2.nsservers.org (localhost [127.0.0.1]) by geb2.nsservers.orw (8.12.9p2/8.12.8) with ESMTP id i910WJwe018715; Thu, 30 Sep 2004 17:32:19 -0700 (PDT) (envelope-from [EMAIL PROTECTED]) Received: (from [EMAIL PROTECTED]) by web2.nsservers.org (8.12.9p2/8.12.8/Submit) id i910WJDE018714; Thu, 30 Sep 2004 17:32:19 -0700 (PDT) Date: Thu, 30 Sep 2004 17:32:19 -0700 (PDT) Message-Id: [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Testing the simple mail functions From: [EMAIL PROTECTED] /header Could the mail server running on web2.nsservers.org be mis-configured? Is there something missing in the header? This mail is being generated from the PHP mail function in a web page. The PHP line is: mail([EMAIL PROTECTED], [EMAIL PROTECTED], Testing the simple mail functions, Did you get this one?, From: [EMAIL PROTECTED] \n); Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php