Re: PEAR?

From: Date: Thu, 08 Feb 2007 00:33:01 +0000
Subject: Re: PEAR?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26524@lists.php.net to get a copy of this message
You may need to enforce the return path to be the same as the from field. I PEAR tries to do this at least with the sendmail driver using the -f option, but I think from memory apache might need permission for it first. > Hello, > > I have a simple php script that sends email. It actually successfully > sends email for those recipients that doesn't have spam filter. What > should I use or do in order this email be send even though the spam filter > is active? Is PEAR can handle this problem? Thanks. > > Below is a simple php script that send email. > > <?php > $recipient = "yyy@somesite.com"; > $headers = 'From: JenniferMontesa@yahoo.com' . "\n"; > //$headers = 'From: AntoinetteJean@rogers.com' . "\r\n"; > $headers.= "MIME-version: 1.0\n"; > $headers.= "Content-type: text/html; charset= iso-8859-1\n"; > > $message = "This is a Test Email. Please let me know if you got this. > Thanks.\n"; > $useremail = $recipient; > mail($useremail,'test run email blast', $message, $headers); > ?> > > > Jennifer > > > > --------------------------------- > Sucker-punch spam with award-winning protection. > Try the free Yahoo! Mail Beta. -- David Sanders Software Engineer Baseline Solutions Pty Ltd Suite 201 832 High St East Kew VIC 3123 Australia Phone: (03) 9249 9687 Fax: (03) 9249 9600 ======================================================================== This e-mail contains privileged and confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that you must not disseminate, copy or take any action in reliance on it. Please notify Baseline Solutions Pty Ltd via e-mail (security@baselinesols.com) if you are not the intended addressee of this e-mail transmission. Any views or opinions presented in this message are solely those of the author. ========================================================================

« previous php.pear.general (#26524) next »