| | |
class.phpmailer and yahoo.com
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jan 2009
Posts: 2
Reputation:
Solved Threads: 0
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
Thanks in advance for any help
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
php Syntax (Toggle Plain Text)
var $From = "admin@domain.com"; var $FromName = "ME"; var $Mailer = "sendmail"; var $Sendmail = "/usr/sbin/sendmail [email]-fwebmaster@domain.com[/email]"; var $Sendmail = "/usr/sbin/sendmail [email]-fwebmaster@domain.com[/email]"; var $Hostname = "domain.com"; var $Host = "ip#here.static.privatedns.com"; var $Port = 25; var $Helo = ""; var $SMTPAuth = true; var $Username = "username"; 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.
•
•
Join Date: Jan 2009
Posts: 2
Reputation:
Solved Threads: 0
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
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
Now Yahoo delivers to spam mailbox!
What would be happening?
Thanks
The script that includes phpmailer doesn't change these parameters.
Yahoo delivers them to inbox
php Syntax (Toggle Plain Text)
public $From = "me@domain.com"; public $Sender = 'webmaster@domain.com'; public $FromName = "ME"; public $Sendmail = "/usr/sbin/sendmail"; public $Hostname = "domain.com"; public $SMTPAuth = true; public $Username = "me"; 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
php Syntax (Toggle Plain Text)
public $From = "admin@domain.com"; public $Sender = 'webmaster@domain.com'; public $FromName = "ADMIN"; public $Sendmail = "/usr/sbin/sendmail"; public $Hostname = "domain.com"; public $SMTPAuth = true; public $Username = "admin.domain"; 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.
![]() |
Similar Threads
- Semi-automated email script (PHP)
- unable to send email to hotmail via php mail() (PHP)
- Cannot send mail through php (PHP)
- I want to add a html file to the subject of the email (HTML and CSS)
- PHP e-mail SMTP error ??? (PHP)
Other Threads in the PHP Forum
- Previous Thread: PHP HTTP Screen-Scraping Class with Caching
- Next Thread: How do I display comments on a webpage?
| Thread Tools | Search this Thread |
apache api array auto beginner binary broken cache cakephp checkbox class cms code codingproblem cron curl customizableitems database date display dynamic echo email error errorlog file files filter folder form format forms forum function functions gc_maxlifetime global google headmethod host href htaccess html image include insert ip javascript joomla limit link login mail malfunctioning memmory memory menu mlm multiple mysql nodes oop parameter parsing paypal pdf php phpmysql popup query radio random recursion recursiveloop remote script search select server sessions snippet source space sql static survey syntax system table trouble tutorial up-to-date update upload url validator variable video web youtube





