my_mail function fails unless $message is set (General)

by Charley, Thursday, September 10, 2009, 16:47 (5344 days ago) @ davwat

I forgot to post an update to my original question. I finally figured out what caused my_mail to fail. I added the following line immediately before the call to the mail function and now all is well:

$message = preg_replace('/(?<!\r)\n/', "\r\n", $message);

Thanks for the help anyway!


Complete thread:

 RSS Feed of thread