JustinCase Posted February 21, 2007 Share Posted February 21, 2007 Trying to use Jack's Formmail.php 5.0! to create an order form on a website. Works fine, but my problem occurs when the mail is actually being sent. Get an errormessage that points me to this document: http://pobox.com/~djb/docs/smtplf.html Seems there is some problem with the ending of the lines. In my script it is done like this: define("NEWLINE", ($newline)?$newline:"\n"); Then it is used like so: if (is_array($array[$field])) { for ($z=0;$z<count($array[$field]);$z++) $content .= $field.SEPARATOR.$array[$field][$z].NEWLINE; } else $content .= $field.SEPARATOR.$array[$field].NEWLINE; Anyone know how I can adjust it to fit the document explaining the problem? Link to comment https://forums.phpfreaks.com/topic/39476-php-mailing-script/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.