| | |
phpMailer mail goes into junk folder
![]() |
•
•
Join Date: Apr 2008
Posts: 583
Reputation:
Solved Threads: 0
Hi,
I use phpMailer to send authenticated email. The mail i sent goes into bulk or junk folders in yahoo and hotmail. They should go to inbox. How can i solve this problem?
Thanks
I use phpMailer to send authenticated email. The mail i sent goes into bulk or junk folders in yahoo and hotmail. They should go to inbox. How can i solve this problem?
Thanks
PHP Syntax (Toggle Plain Text)
$mail = new PHPMailer(); $mail->IsSMTP(); $mail->Host = "mail.myserver.com"; $mail->SMTPAuth = true; $mail->Username = "username"; $mail->Password = "passw"; $mail->From = "mymail@xxxx.xom"; $mail->FromName = "name surname"; $mail->AddAddress ("xxxx@ssss.com"); $mail->WordWrap = 50; $mail->IsHTML(true); $mail->Subject = "Hi"; $mail->Body = "Dear customer";
I think there is no a 100% guaranteed solution for this problem, no matter you conform to standards or not. I use gmail and constantly i have mails from friends of mine going into the junk folder, unless I explicitly mark them as not spam.
I think that when the spam filters find an e-mail address matching their spam validation rules, they mark it as spam...
The good thing is that not every mail server in the world has as such paranoid spam filters as gmail and yahoo, so the solution of pritaeas my work in most cases other than yahoo, msn and google...
I think that when the spam filters find an e-mail address matching their spam validation rules, they mark it as spam...
The good thing is that not every mail server in the world has as such paranoid spam filters as gmail and yahoo, so the solution of pritaeas my work in most cases other than yahoo, msn and google...
" Of all the things I've lost,
I miss my mind the most...."
Mark Twain
I miss my mind the most...."
Mark Twain
Hi and Dear Customer are often found as precursors to unsolicited bulk mail. It may not be a problem with the phpMailer, but a problem with what you are trying to do.
Anti-Spam servers perform detections based on a number of factors. The server you are sending from should be written into DNS correctly with both forward and reverse lookups. The content of the messages as well as volume also play a role.
You should always conform to standards as much as possible, but likely you will never truly get around all spam filters. Some are too paranoid, some are broken and think everything is spam, some are designed to block everything not white-listed etc.
Anti-Spam servers perform detections based on a number of factors. The server you are sending from should be written into DNS correctly with both forward and reverse lookups. The content of the messages as well as volume also play a role.
You should always conform to standards as much as possible, but likely you will never truly get around all spam filters. Some are too paranoid, some are broken and think everything is spam, some are designed to block everything not white-listed etc.
Last edited by airbourne; Mar 17th, 2009 at 9:13 am.
•
•
Join Date: Nov 2009
Posts: 179
Reputation:
Solved Threads: 24
0
#7 Dec 22nd, 2009
PHP Syntax (Toggle Plain Text)
$mail->AltBody = "This is the body in plain text for non-HTML mail clients"; $mail->Send();
Last edited by rajabhaskar525; Dec 22nd, 2009 at 6:11 am.
![]() |
Other Threads in the PHP Forum
- Previous Thread: Retrieving Folder Path
- Next Thread: Help me..
Views: 3960 | Replies: 6
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache array box buttons cakephp check checkbox class cms code cookies database date directory display download dropdown drupal dynamic echo email error file files folder form forms function functions header hosting href htaccess html image include insert ip java javascript joomla jquery limit link list login loop mail menu methods mlm mod_rewrite multiple mysql order parse password paypal pdf php post problem query radio random redirect regex remote rewrite script search select server session sessions shopping soap sort sorting source sql storage string table unicode update upload url user validation variable video web website wordpress xml zend






