By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,967 Members | 1,182 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,967 IT Pros & Developers. It's quick & easy.

How can I keep my site's newsletter out of SPAM folders?

P: 1
I'm designing a newsletter for my site and I gonna send my newsletters using mail() function.
I want each user that receives newsletter be able to see just his email address in "TO" field and I wanna hide the other users.
I know that it's not a correct way to repeat mail() function for each single newsletter user but when I use BCC header my emails will go to SPAM folders!

Please guide me how to use headers to send my newsletter out of Spam folders.
Jul 9 '07 #1
Share this Question
Share on Google+
3 Replies

Expert 5K+
P: 5,821
Heya, neopersia. Welcome to TSDN!

Your site's newsletter is going to SPAM boxes 'cause it looks an awful lot like spam to modern email clients! There's very little you can do about this (would you want REAL spammers to be able to fool spam filters so easily?). But there's a lot that your Users can do.

First off, tell your Users to look for it in their spam box the first time around. Usually, if you move a message out of your spam mailbox, the email app is smart enough to figure out that the next one is probably not spam.

Another factor that helps is getting your Users to add the From email address to their address books, which a lot of spam filters will check with before marking a message as spam.

If your server can support the load, try sending out one email per User so that you can put the User's email address in the To header instead of BCC. If you do this, also try to address the message to the User's full name:
Expand|Select|Wrap|Line Numbers
  1. $to = "\"$firstname $lastname\" <$email>";
  2. mail($to ... );
Mac OS X's junk mail filter is less likely to mark the message as spam if you know the User's full name. I'm sure it's not the only one.
Jul 9 '07 #2

Expert 100+
P: 1,044
SwiftMailer, an open-source, flexible, object-oriented alternative to PHP's native mail(), provides documentation on legitimately lowering the chances of being considered spam.
Jul 9 '07 #3

P: 111
Yes, the best way to send emails is to do them separatly, i.e. one for each person, rather than BCC everyone. just put the code in a loop and send to each person by looping through the list of email addresses.

yes it will increase load on your system, so if you want to stop that, the best thing to do is to put a 1 sec paused in the loop, after sending each email. i do it through header reloads.

Also, spam filters usually block emails depending on the subject of the email, the ‘from’ address or the content of the actual email.

also they look at the from adddress and the return address, and sometimes make decisions on this as well. (i.e. if it is different)

Anyway here’s a link to words that usually get blocked by spam filters.

try to aviod these terms in the subject and main content of email.
Jul 9 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.