PDA

View Full Version : PHP :: Avoid sending mails to Spam folders



prema
11 Nov 2008, 04:04 AM
:wall: Can anybody tell that how to avoid sending mails as a SPAM through PHP?? If I send mail using mail() in PHP it is received only as a SPAM.... :(

How to get mails in INBOX [in gmail] ????? Kindly reply. Its urgent.

dbrandon
14 Nov 2008, 05:57 AM
Your web host may be blacklisted. You could try getting a free mailer class which will let you send using SMTP. Or, try sending headers with the mail() function to make sure the email appears to come from an email account on your domain.