PDA

View Full Version : PHP form, junk mail filter :/


N8
04-09-2005, 10:35 PM
I'm setting up a mail form, but it always gets filtered as junk mail :ermm:


mail("user@hotmail.com", "your reciept","reciept: blah blah blah...", "from: ZG Sales reciept <sales@zerogamers.com>");


What do I have to change so this doesn't get filtered into junk mail?

Carnage
04-11-2005, 11:48 AM
i've noticed the same thing with a site i'm working on, all emails we send using the php mail function end up going to someones junk email... i think its missing something but i've not worked out what yet, might be time to go and take a browse at vb's mail sending functions...

Marco van Herwaarden
04-11-2005, 12:26 PM
You could start by removing the "from: ", also trim the message.

To find a good answer to your question you would need to get as many copies of the full received mails including mail-header from as many different clients/mailservers that you can get your hands on. Both examples of mails ending up in the Junk folder and mails that get accepted.

Also the settings of the mailclients/mailservers could make a difference.