Topic: Missing quotes around From name in pun_mail() prevented send
I just spent an hour banging my head against the pun_mail() function. Everything looked right, the data was all present when I printed it out, but the darn e-mail wouldn't send.
I finally got it working after adding quotes around the From name. All I did was change this:
$from = $pun_config['o_board_title'].' '.$lang_common['Mailer'].' <'.$pun_config['o_webmaster_email'].'>';
to this:
$from = '"'.$pun_config['o_board_title'].' '.$lang_common['Mailer'].'" <'.$pun_config['o_webmaster_email'].'>';
on line 72 in include/email.php and it works like a champ.
I'm running Qmail on Red Hat.