class.phpmailer and yahoo.com

Reply

Join Date: Jan 2009
Posts: 2
Reputation: marciano is an unknown quantity at this point 
Solved Threads: 0
marciano marciano is offline Offline
Newbie Poster

class.phpmailer and yahoo.com

 
0
  #1
Jan 7th, 2009
Hello.
I've tested sending emails to popular webmails like gmail and hotmail successfully.
The problem is with yahoo. All mails are delivered to SPAM folder.
These are some of my class.phpmailer vars where the mails are sent from

  1. var $From = "admin@domain.com";
  2. var $FromName = "ME";
  3. var $Mailer = "sendmail";
  4. var $Sendmail = "/usr/sbin/sendmail [email]-fwebmaster@domain.com[/email]";
  5. var $Sendmail = "/usr/sbin/sendmail [email]-fwebmaster@domain.com[/email]";
  6. var $Hostname = "domain.com";
  7. var $Host = "ip#here.static.privatedns.com";
  8. var $Port = 25;
  9. var $Helo = "";
  10. var $SMTPAuth = true;
  11. var $Username = "username";
  12. var $Password = "password";

Thanks in advance for any help
Last edited by peter_budo; Jan 9th, 2009 at 6:11 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 2
Reputation: marciano is an unknown quantity at this point 
Solved Threads: 0
marciano marciano is offline Offline
Newbie Poster

Re: class.phpmailer and yahoo.com

 
0
  #2
Jan 8th, 2009
I have upgraded to v2.3 and I got these settings to work.
The script that includes phpmailer doesn't change these parameters.
Yahoo delivers them to inbox
  1. public $From = "me@domain.com";
  2. public $Sender = 'webmaster@domain.com';
  3. public $FromName = "ME";
  4. public $Sendmail = "/usr/sbin/sendmail";
  5. public $Hostname = "domain.com";
  6. public $SMTPAuth = true;
  7. public $Username = "me";
  8. public $Password = "password"; // 'me' password

But I don't want to send mails from 'me' so I have created a new linux user called admin.domain with the associated email address admin@domain.com
So these are the changes in class.phpmailer.php

  1. public $From = "admin@domain.com";
  2. public $Sender = 'webmaster@domain.com';
  3. public $FromName = "ADMIN";
  4. public $Sendmail = "/usr/sbin/sendmail";
  5. public $Hostname = "domain.com";
  6. public $SMTPAuth = true;
  7. public $Username = "admin.domain";
  8. public $Password = "password"; // 'admin.domain' password

Now Yahoo delivers to spam mailbox!
What would be happening?
Thanks
Last edited by peter_budo; Jan 9th, 2009 at 6:12 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC