Send HTML email via admincp
This modification is in the archives.
[Send HTML email via admincp]
Information
What does this modification do? This modification allows you to send optional HTML email in your newsletter when mass emailing users from your AdminCP Installation 1/ In admincp/email.php find: PHP Code:
vbmail($user['email'], $_POST['subject'], $sendmessage, true, $_POST['from']);
PHP Code:
if($_POST['sendhtml'])
In admincp/email.php find: PHP Code:
print_textarea_row($vbphrase['message_email'], 'message', '', 10, 50);
PHP Code:
print_yes_no_row('Send HTML Email?', 'sendhtml', 0);
In admincp/email.php find: PHP Code:
construct_hidden_code('test', $_POST['test']);
PHP Code:
construct_hidden_code('sendhtml', $_POST['sendhtml']);
In includes/functions.php find: PHP Code:
function vbmail($toemail, $subject, $message, $notsubscription = false, $from = '' , $uheaders = '', $username = '')
PHP Code:
function vbmail($toemail, $subject, $message, $notsubscription = false, $from = '' , $uheaders = '', $username = '', $html = false)
In includes/functions.php find: PHP Code:
$headers .= 'Content-Type: text/plain' . iif($encoding, "; charset=\"$encoding\"") . $delimiter;
PHP Code:
$usehtml = iif($html, 'html', 'plain');
If you installed this modifcation please click the install button. It'll help you keep up to date with future releases and important bugfixes, security updates. Download No files for download. Screenshots
|
Similar Mods
Add-On Releases Send HTML emails from adminCP | vBulletin 3.6 Add-ons |
Administrative and Maintenance Tools Send HTML email via adminCP | vBulletin 3.7 Add-ons |
Send HTML emails from adminCP | vBulletin 3.5 Add-ons |