Re: URGENT-HELP !!!!!!
| From: | Johan Holst Nielsen | Date: | Fri, 30 Nov 2001 11:34:15 +0000 |
| Subject: | Re: URGENT-HELP !!!!!! | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-76184@lists.php.net to get a copy of this message | ||
hmm, youre right.
You can use this header maybe "FROM: Do Not Reply <nonexists@localhost>"
The SMTP should be able to resolve localhost?
Regards,
Johan
Jon Farmer wrote:
Problem with that solution is some SMTP hosts will reject messages from domains that do not resolve to the sending SMTP host. I would recommend setting up a alias on sendmail and pipe all email to that address to /dev/null You would need to stress to your recipients that all replies to that email are ignored. Regards Jon -- Jon Farmer Systems Programmer, Entanet www.enta.net Tel 01952 428969 Mob 07763 620378 PGP Key available, send email with subject: Send PGP Key ----- Original Message ----- From: "Chamarty Prasanna Kumar" <ch_kumar_1@rediffmail.com> To: "Johan Holst Nielsen" <johan@1way2print.net> Cc: <php-general@lists.php.net> Sent: Friday, November 30, 2001 10:54 AM Subject: Re: Re: [PHP] URGENT-HELP !!!!!!Thanks very much !! Smart solution !! yes, I don't want to get reply from that mail. Just looking for any solution......if u finds one please let me know. Regards, Kumar. On Fri, 30 Nov 2001 Johan Holst Nielsen wrote :-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.netWant to send "mail" through PHP script such that the receiver of that mail should not contain FROM header. I used mail() function with empty FROM header and even without FROM header, but the receiver is still getting FROM address as apache@domainname.comYou can't. The mail specification have to get a FROM header, but to make a solution you can make a FROM header like this: "FROM: Do Not Reply <DoNotReply@DoesNotExists.com>" regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.ph- p.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net