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" <[EMAIL PROTECTED]> >To: "Johan Holst Nielsen" <[EMAIL PROTECTED]> >Cc: <[EMAIL PROTECTED]> >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 : >> >>>> >>>> >>>> Want 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 [EMAIL PROTECTED] >>>> >>>You 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 >>><[EMAIL PROTECTED]>" >>> >>>regards, >>> >>>Johan >>> >>> >>>-- >>>PHP General Mailing List (http://www.php.net/) >>>To unsubscribe, e-mail: [EMAIL PROTECTED] >>>p.net >>>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] >> > >