Our good friend Mr Dirtdog has noticed that the Affearners notfictaion emails i am spamming him with dont have a live link to the thread in his email client....
Works for most people but a few have now mentioned that in their client no link... yet the unsubscribe link works fine in all....
heres the code from post.php
// Setup the string for adding the body to the message, if a user wants it.
$body_text = empty($modSettings['disallow_sendBody']) ? $txt['notification_new_topic_body'] . "\n\n" . $message . "\n\n" : '';
$send_subject = sprintf($txt['notify_boards_subject'], $_POST['subject']);
// Send only if once is off or it's on and it hasn't been sent.
if (!empty($rowmember['notifyOnce']) && empty($rowmember['sent']))
sendmail($rowmember['emailAddress'], $send_subject,
sprintf($txt['notify_boards'], $_POST['subject'], $scripturl . '?topic=' . $topic . '.new#new', un_htmlspecialchars($user_info['name'])) .
$txt['notify_boards_once'] . "\n\n" .
(!empty($rowmember['notifySendBody']) ? $body_text : '') .
$txt['notify_boardsUnsubscribe'] . ': ' . $scripturl . '?action=notifyboard;board=' . $board . ".0\n\n" .
$txt[130], null, 't' . $topic);
elseif (empty($rowmember['notifyOnce']))
($rowmember['emailAddress'], $send_subject,
sprintf($txt['notify_boards'], $_POST['subject'], $scripturl . '?topic=' . $topic . '.new#new', un_htmlspecialchars($user_info['name'])) .
(!empty($rowmember['notifySendBody']) ? $body_text : '') .
$txt['notify_boardsUnsubscribe'] . ': ' . $scripturl . '?action=notifyboard;board=' . $board . ".0\n\n" .
$txt[130], null, 't' . $topic);
}
mysql_free_result($members);
// Sent!
db_query("
UPDATE {$db_prefix}log_notify
SET sent = 1
WHERE ID_BOARD = $board
AND ID_MEMBER != $ID_MEMBER", __FILE__, __LINE__);
}
Seems odd to me that one would work and the other not.... any ideas?