reducing spam score of email alerts.

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
User avatar
mokeybrains
Posts: 42
Joined: Mon Aug 22, 2005 9:39 pm
Location: San Francisco, CA
Contact:

reducing spam score of email alerts.

Post by mokeybrains »

Threshold alerts don't have the closing BODY tag. That causes my spam assassin to filter threshold alerts. Also, the blank lines without much text trips up the spam threshold as well.

In thold-functions.php, edit line 791 to include the closing body and HTML tags:

Code: Select all

$mail->Body .= "\n<br>Cacti image:\n<br><img src='cid:$cid'>\n</body></html>\n";
Of course the Threshold sender is now in my whitelist, but perhaps this patch can be added to future releases to squelch "the alerts are not getting to me" problems.
:P
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest