I have a site in which when i send email by using the mail() function its reaching to bulk folder but not to the inbox.
Why its happening to me. What are the requirements i have to take to send a mail by using mail() function in php.
Here is the code function code. Is there any wrong with this?
Code: Select all
mail($remail,$subject,$mesg,"From:$strFrom\r\nReply-to: $strFrom\r\nContent-type: text/html; charset=us-ascii");