| | |
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 basic beginner broken cache cakephp class cms code computing confirm countingeverycharactersfromastring cron curl customizableitems database date delete dynamic echo email error fcc file filter folder form forms forum freelancing function functions gc_maxlifetime google header headmethod howtowriteathesis href htaccess html iframe image include incode ip javascript joomla limit link login malfunction match memmory memory menu method mod_rewrite multiple mysql navigation neutrality oop pagerank parsing paypal pdf php phpmysql query question random recursiveloop root script search select server sessions sms snippet soap source space sql support! system table template thesishelp trouble tutorial upload url variable video web window.onbeforeunload=closeme; youtube





