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!
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
I found a mail() function example in the php.net, but it doesn't work on my server. However if I changed '\r\n' into '\n' in the $headers, it would work perfectly. What is the difference between '\r\n'and '\n' in the email header? Or is there some settings in the php.ini can impact on this?
http://www.php.net/manual/en/function.mail.php
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
As far as I know it's only to do with operating systems. Windows uses '\r' and I think the majority of others use '\n'. By using '\r\n' you accommodate for the majority of operating systems.
But looking at your problem it seems strange that taking extra measures creates a problem. My best theory is that you're using a Microsoft Exchange server and that Exchange sends all e-mails that have anything to do with any other OS (IE - \n) to it's bin - Only joking there, I don't know really.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.