Quote:
Originally Posted by Lee Wilde
Thanks for a BRILLIANT hack grandeur_69 - this will make life much easier for me.
I apologise if this question has already been raised. I searched the thread but haven't found the answer I need.
I would like to remove the html version altogether and send to everyone in plain text.
I tried simply deleting everything in the preview HTML field....but that only results in receiving a blank email.
Thank you, any assistance/suggestions would be appreciated.
|
Find this bit towards the bottom of commbull.php
Code:
if ($user[receivebulletin_type] == '1')
{
/*
$htmlmail = new send_mail($user['email'],"$bbtitle Mailer",$webmasteremail,$subject,$HTML_mailbody);
$htmlmail->changetype('html');
$htmlmail->send();
*/
if (DEBUG_COMMBULL == '0')
{
mail($user[email],$subject,$HTML_mailbody,$htmlEmailHeader);
}
echo ' html ';
}
else
and right before it, insert the new line:
Code:
$user[receivebulletin_type]=0;
That should force everyone to text regardless of their setting.
Regards,
Matt