Iíve tried Reading The Fine Manual on this, and canít find an easy
answer.
 
Hereís the headers for a message from the script, and the error Iím
getting on some mail it sendsÖ
 
Return-Path: <wwwrun>
Received: (from wwwrun@localhost)
            by arsenic.mth.com (8.11.6/8.11.3) id g0O4UCQ27546;
            Wed, 23 Jan 2002 21:30:12 -0700
Date: Wed, 23 Jan 2002 21:30:12 -0700
Message-Id: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Order Receipt
From: [EMAIL PROTECTED]
Reply-To: HYPERLINK "mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED]
 
Some mail servers give this response:
The original message was received at Wed, 23 Jan 2002 21:30:12 -0700
from wwwrun@localhost
 
   ----- The following addresses had permanent fatal errors -----
[EMAIL PROTECTED]
    (reason: 550 REQUESTED ACTION NOT TAKEN: DNS FAILURE)
 
   ----- Transcript of session follows -----
... while talking to mx.somewhere.com.:
>>> MAIL From:<[EMAIL PROTECTED]>
<<< 550 REQUESTED ACTION NOT TAKEN: DNS FAILURE
554 5.0.0 Service unavailable
 
Hereís the line of PHP Iím using to send the mail:
mail($CustomerInfo[Email], "Order Receipt", $text,"From:
$SiteInfo[Email]\nReturn-Path: $SiteInfo[Email]\nReply-To:
$SiteInfo[Email]");
 
arsenic.mth.com is the LAN name of my box. How can I get PHP to send
mail as if it was from the DNS name for the box (mthmarketing.com)?
 
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.313 / Virus Database: 174 - Release Date: 1/2/2002
 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to