Okay in Post.pm find:
if ($accept_permafull) {
$topiclink =
qq~$perm_domain/$symlink/$permdate/$currentboard/$thisthread~;
}
sendmail(
$curmail,
"$notifysubjects{$curlang}{'136'}: $thissubject",
template_email(
$notifystrings{$curlang}{'boardnotificationemail'},
{
'subject' => $thissubject,
'num' => $topiclink,
'start' => $page,
'tauthor' => $thisauthor,
'tmessage' => $thismessage
}
),
q{},
$notifycharset{$curlang}{'emailcharset'}
);
$mailsent{$curuser} = 1;
}
Replace with:
if ($accept_permafull) {
$topiclink =
qq~$perm_domain/$symlink/$permdate/$currentboard/$thisthread~;
}
if ( $thissubject && $topiclink && $page && $thisauthor && $thismessage ) {
sendmail(
$curmail,
"$notifysubjects{$curlang}{'136'}: $thissubject",
template_email(
$notifystrings{$curlang}{'boardnotificationemail'},
{
'subject' => $thissubject,
'num' => $topiclink,
'start' => $page,
'tauthor' => $thisauthor,
'tmessage' => $thismessage
}
),
q{},
$notifycharset{$curlang}{'emailcharset'}
);
$mailsent{$curuser} = 1;
}
}
This will stop the Mailer from running if any email info is missing.
In MoveSplitSplice.pm find
if ( $FORM{'position'}
&& $newthread == $FORM{'old_position_thread'} )
{
and replace with
if ( $FORM{'position'}
&& $FORM{'old_position_thread'} && $newthread == $FORM{'old_position_thread'} )
{