[PHP] returned eMails

2001-05-22 Thread Jean-Arthur Silve

Hi !

We have a site which send mails to customers regulary.

My problem is that when some mails are returned (bacause addresses are not 
available or mailboxes are full etc..)
they are returned to the server administrator and not to the sender of the 
message.

When I send a mail, I use the PHP mail function .
In the header I put From: [EMAIL PROTECTED]\n\n

The From is ok because when someone receive the message, it is From the 
address I put.

May be is there another field to put in the header for the refused messages 
are returned to the sender I want ?

Thank you for your help

jean-arthur


EuroVox
4, place Félix Eboue
75583 Paris Cedex 12
Tel : 01 44 67 05 05
Fax : 01 44 67 05 19
Web : http://www.eurovox.fr



--
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]




RE: [PHP] returned eMails

2001-05-22 Thread Maxim Maletsky

You gonna need to add 

Return-Path: [EMAIL PROTECTED]\n;

into your message header.

Sincerely, 

 Maxim Maletsky
 Founder, Chief Developer
 PHPBeginner.com (Where PHP Begins)
 [EMAIL PROTECTED]
 www.phpbeginner.com



-Original Message-
From: Jean-Arthur Silve [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 5:27 PM
To: [EMAIL PROTECTED]
Subject: [PHP] returned eMails


Hi !

We have a site which send mails to customers regulary.

My problem is that when some mails are returned (bacause addresses are not 
available or mailboxes are full etc..)
they are returned to the server administrator and not to the sender of the 
message.

When I send a mail, I use the PHP mail function .
In the header I put From: [EMAIL PROTECTED]\n\n

The From is ok because when someone receive the message, it is From the 
address I put.

May be is there another field to put in the header for the refused messages 
are returned to the sender I want ?

Thank you for your help

jean-arthur


EuroVox
4, place Félix Eboue
75583 Paris Cedex 12
Tel : 01 44 67 05 05
Fax : 01 44 67 05 19
Web : http://www.eurovox.fr



-- 
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]

--
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]