dpacmittal Posted May 7, 2009 Share Posted May 7, 2009 I've used it without putting any headers and it worked. Now I put a header like this: $headers="From: [email protected]\r\n"; But this just isn't working. What may be the problem? Do I have to put all the headers, like reply-to etc. I've not worked with mail() before. Link to comment https://forums.phpfreaks.com/topic/157259-php-mail-problem/ Share on other sites More sharing options...
revraz Posted May 7, 2009 Share Posted May 7, 2009 The FROM address may have to be a valid email address on the domain you are sending from. Link to comment https://forums.phpfreaks.com/topic/157259-php-mail-problem/#findComment-828716 Share on other sites More sharing options...
dpacmittal Posted May 7, 2009 Author Share Posted May 7, 2009 Thanks.. I received the mails after 10 minutes of sending them. The mail server was just to slow. And I was just too impatient. Link to comment https://forums.phpfreaks.com/topic/157259-php-mail-problem/#findComment-828743 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.