PDA

View Full Version : Email with wrong address ends up where?


stan
04-08-1999, 10:13 PM
Hi,

In my PHP script I use the following command

mail($email, $subject, $body, "From: info@dmo.com\nCc: stan@dmo.com");

This works fine, except in case $email expands to an invalid email address, e.g. nosuchuser@somedomain.org

I would expect the mail to bounce at some MailDemon, and get it back on either info@dmo.com or PHP3@dmo.com, but no, It just disapears

Any ideas?

Stan



------------------
Stan P. van de Burgt stan@dmo.com (PGP 0x853296C5)
DMO, P.O. box 1248, 3500 BE, Utrecht, the Netherlands

Terra
04-08-1999, 11:28 PM
Hey Stan,

You are on revision 1 of the Apache configs that doesn't have the 'php3@dmo.com' setup internally as a 'Return-Path: ' address...

CGI scripts have this already built in, but PHP3 doesn't... See if you can manually set the 'Return-Path: <stan@dmo.com>' for handling bounces...

TAZ's revision 1 configurations will be phased out and upgraded when TAZ is upgraded to the revision 4 configurations that SIX is now running...

--
Terra
--Trying to stay one step ahead of Mr. Legacy--
FutureQuest

stan
04-08-1999, 11:50 PM
Yes! That helps.

Thanks!


Stan