All my email is going to the spam

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
evilmonkey
Forum Regular
Posts: 823
Joined: Sun Oct 06, 2002 1:24 pm
Location: Toronto, Canada

All my email is going to the spam

Post by evilmonkey »

Hello,

All the php-generated emails I send, people complain that it ends up in thier spam boxes. =( This is really annoying, both for me (because people don't recieve important things from my site) and for them because they're actually waiting for those important emails to come. My question is, if a user has a hotmail (*barfs*) account and the spam settings set on standard (regular, whatever it's called, I don't use hotmail), what headers would I need to set (and what do I set them to) in order for my message not to be classified as spam? Thanks. =)
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

User avatar
evilmonkey
Forum Regular
Posts: 823
Joined: Sun Oct 06, 2002 1:24 pm
Location: Toronto, Canada

Post by evilmonkey »

Wow, that's so complicated...I'm looking for something that simply uses the mail() function. :(
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

most spam filters use a scoring system to score an email. If after tallying all the points, it reaches a certain threshhold then it gets put to spam.

some things it takes into consideration:

specific words (<span style='color:red;text-decoration:blink' title='Alert a moderator!'>grilled spam</span>, pr0n etc)
header-specific information
whether or not it's html and if so does it contain certain tags

probably the best thing to do is try some different derivations of your email and see what you can slip through
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

evilmonkey wrote:Wow, that's so complicated...I'm looking for something that simply uses the mail() function. :(
The mail function blows.
User avatar
mabufo
Forum Commoner
Posts: 81
Joined: Thu Jul 10, 2003 11:11 pm
Location: Orland Park, IL
Contact:

Post by mabufo »

I tried out the mail function - and it doesn't even get sent to me - though it's probably server related.

EDIT: if anyone has any idea on how to get that fixed up... pm me, please!
Last edited by mabufo on Tue Jul 04, 2006 6:44 pm, edited 1 time in total.
User avatar
evilmonkey
Forum Regular
Posts: 823
Joined: Sun Oct 06, 2002 1:24 pm
Location: Toronto, Canada

Post by evilmonkey »

Okay, so mail() function blows...how does the class mentioned in the scond post help me bypass spam detectors? (BTW, i'm not sendring out <span style='color:red;text-decoration:blink' title='Alert a moderator!'>grilled spam</span>, porn, pr0n, or any unsolicited emails. This is for users of my site for things like welcome emails and password recovery :? )
Post Reply