PHP mailing problem

by 6 replies
7
When i send email using php it goes to spam folder of yahoo and gmail can anyone tell me how can i send it to inbox folder instead of spam one?
#programming #mailing #php #problem
  • you might want to check the headers and info. i had this problem at one time and had to add better headers and return email address to make it not go into the spam folders on the free email services.
  • you might also want to look into using an outgoing mail server, this is something you actually have to set.
  • yes - try to use the imap system in PHP to send it via gmail or something similar. It could be a problem with your shared host.
  • Fixing this 100% is tough if not impossible. However, check out my reply to this thread ...

    http://www.warriorforum.com/programm...-increase.html

    This will help A LOT. The imap suggestion might work too but haven't tried it.

    Hope this helps!
  • I had this issue long back - but it got solved when using the PHP_mailer function . Basically it is the issue with Headers .
  • yeah headers, if incorrect will look suspect and likely get the email classed as spam.

    Your best bet though is to use an email account with a reputable name, for example youremailaccount AT gmail.com

    You can send mail from a gmail account using php very easily. sourceforge.net/projects/phpmailer/

Next Topics on Trending Feed