PDA

View Full Version : De-Spam Emails


uvbnhad
04-06-2005, 01:00 AM
I don't know if you've had the same problem with activation emails sent to the new members junk/spam folder but you can add this to the functions.php code and clear it up.


// Trim White Area
//"Fools" Spam Blockers
$message = trim($message);
// End Trim Section

Basically it clears the white areas and will "fool" spam blockers. So far it's worked every time since I added it to the code. It might help to tell you where. In the vb_send_mail function add it after this area:
if (!class_exists('Mail'))
{
require_once('./includes/mail.php');
}

Sendero
04-06-2005, 07:54 AM
I've been meaning to do that, but nobodies complained so its fallen down the list. It works on all the "quick check" type of spam blockers, but anything that uses a Bayesian system will get it 3 out of 5 times. I've complained to vBulletin about this and they "are working on it" which means: we know, buzz off.