hi,
iam using php mail() to generate a mails.iam using smtp mail server.
the problem is all the generted mail is marked as spam. please let me know how to resolve this problem
with regards Muthukeerthi
make sure all your headers are in place...
Or maybe it is spam?
crazychris wrote:make sure all your headers are in place... Or maybe it is spam?
iam generating the mail in loop. so it think
The mails that are being generated from the system through (phpmail progrmme)were being flagged as ‘Spam’; and hence the respective web servers redirect those mails to the ‘Junk Folder’.
how to sove this problem
As crazychris says, you need to ensure that all of your mail headers are set correctly. This needs to be done by your PHP program. Read the mail section of the PHP manual for full details.