PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
hi,
I have a simple script as below, trying to check mail() function of PHP.BUt the script says mail has sent, while its not sending the mail actually.
The positive return value from mail() only means that it was put in the output queue and should be sent. It cannot guarantee that the receiving server accepts it.
Gmail, like many other mail services greatly filters the incoming mail. Your email probably fell prey to one or more filters.
Have you taken a look at the threads concerning Swift?
Hi feyd,
thank you for the input.
I am hearing "swift" for the first time.Let me search for it too.
I will change the server name from gmail to some other service and check it too.
Like feyd mentioned, your emails are probably being caught in the spam filters. Malformed or incomplete headers are typicallly a sure sign that it will not make it to the destination inbox. Do yourself a favor and try Swift, it is so easy to implement and you'll be firing emails within a couple minutes.