sabret00the |
03-29-2005 10:00 PM |
Prevent E-mail's From Sitting In The Junk Folder
Thanks to Nexlysis (think that's how you spell it) for the tip, it's an easy mod, i installed it on my live board and not only did it send the stuff to my inbox it made babies :o
but open functions.php and find:
PHP Code:
// ###################### Start vb_send_mail #######################
function vb_send_mail($toemail, $subject, $message, $header)
{
global $vboptions;
if (!class_exists('Mail'))
{
require_once('./includes/mail.php');
}
and below add:
PHP Code:
// +++ de-Spam email
$message = trim($message);
// --- de-Spam email
now find in the same file:
PHP Code:
if ($vboptions['usemailqueue'] AND !$notsubscription)
{
$data = '(' . TIMENOW .' , "' . addslashes($toemail) . '" , "' . addslashes($subject) . '" , "' . addslashes($message) . '" , "' . addslashes($headers) . '" )';
and then above add
PHP Code:
// +++ de-Spam email
$message = trim($message);
// --- de-Spam email
save and upload because you're done. :)
|