From: Wilfried S. <ws...@de...> - 2008-11-19 15:59:47
|
Domenic, look into Domain Keys and DKIM. Best bet for solving this, I've found, is to make sure your outbound messages get signed by a milter or such (if you're using sendmail). Good luck, this can be a huge PITA depending on your MTA. >> Authentication-Results: mta100.mail.ac4.yahoo.com >> from=vps.homesalerelief.com; domainkeys=neutral (no sig) Wilfried On Nov 19, 2008, at 09:30 , Domenic Roti wrote: > Hey everyone, I've got a problem thats been driving me crazy and was > wondering if anyone else might have experienced this in the past. > I'm on a clients server and am trying to send out a confirmation > email after registering for the site. The problem I have is that > Yahoo always blocks it, not just sends it to the SPAM folder but > completely blocks it. > > I have a GMAIL account that also forwards to my yahoo account, and > my GMAIL account receives the emails just fine. I first started by > using the mail function, but when I did that the forwarded email > wouldn't even go though to my yahoo account. > > So I switched to phpmailer and well it still doesn't go to my yahoo > account - GMAIL atleast forwards it. My code looks like this: > > > date_default_timezone_set('America/Chicago'); > //date_default_timezone_set(date_default_timezone_get()); > > include_once('class.phpmailer.php'); > > $mail = new PHPMailer(); > $body = $mail->getFile('/home/freeandc/public_html/ > ConfirmationEmail.html'); > $body = eregi_replace("[\]",'',$body); > > $mail->IsSendmail(); // telling the class to use SendMail transport > > $mail->From = "in...@vp..."; > $mail->FromName = "Mortgage Relief Formula"; > > $mail->Subject = $subject; > > $mail->AltBody = "To view the message, please use an HTML > compatible email viewer!"; // optional, comment out and test > > $mail->MsgHTML($body); > > $mail->AddAddress("Dom...@gm...", "Domenic Roti"); > > if(!$mail->Send()) { > echo "Mailer Error: " . $mail->ErrorInfo; > } else { > echo "Message sent!"; > } > > > Here are the headers that I get from the forwarded email: > > <domenic.roti+caf_=rodstir656=yah...@gm...> > Authentication-Results: mta100.mail.ac4.yahoo.com > from=vps.homesalerelief.com; domainkeys=neutral (no sig) > Received: from 72.14.220.158 (EHLO fg-out-1718.google.com) > (72.14.220.158) by mta100.mail.ac4.yahoo.com with SMTP; Wed, 19 Nov > 2008 07:20:57 -0800 > Received: by fg-out-1718.google.com with SMTP id l27so15628fgb.33 > for <rod...@ya...>; Wed, 19 Nov 2008 07:20:56 -0800 (PST) > Received: by 10.187.239.18 with SMTP id q18mr219346far. > 16.1227108056694; Wed, 19 Nov 2008 07:20:56 -0800 (PST) > Delivered-To: dom...@gm... > Received: by 10.187.208.5 with SMTP id k5cs253157faq; Wed, 19 Nov > 2008 07:20:55 -0800 (PST) > Received: by 10.64.180.15 with SMTP id c15mr1167647qbf. > 80.1227108054218; Wed, 19 Nov 2008 07:20:54 -0800 (PST) > Return-Path: <no...@vp...> > Received: from vps.homesalerelief.com (vps.homesalerelief.com > [69.4.237.250]) by mx.google.com with ESMTP id k29si11055191qba. > 7.2008.11.19.07.20.53; Wed, 19 Nov 2008 07:20:54 -0800 (PST) > Received-SPF: pass (google.com: best guess record for domain of no...@vp... > designates 69.4.237.250 as permitted sender) client-ip=69.4.237.250; > Authentication-Results: mx.google.com; spf=pass (google.com: best > guess record for domain of no...@vp... designates > 69.4.237.250 as permitted sender) smtp.mail=no...@vp... > Received: from nobody by vps.homesalerelief.com with local (Exim > 4.69) (envelope-from <no...@vp...>) id > 1L2orN-0000Wa-IM for Dom...@gm...; Wed, 19 Nov 2008 > 09:20:53 -0600 > Date: Wed, 19 Nov 2008 09:20:53 -0600 > To: Domenic Roti <Dom...@gm...> > From: > Mortgage Relief Formula <in...@vp...> > Add sender to Contacts > Subject: > Message-ID: <dad...@fr...> > MIME-Version: 1.0 > Content-Type: multipart/alternative; > boundary="b1_dadbd41ef9512a26b9627d6fe560e8f2" > Content-Length: 384 > > > > Does anyone have any idea what might be causing this? > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > chiPHPug-discuss mailing list > chi...@li... > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss |