Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Select the email parse format
#1
I would like to suggest an email configuration option.

Currently it is not possible to send emails with html because the accepted format is Text only.

Every time I update the forum I edit the following files replacing Text by Both to be able to send emails with html.


.../forum/inc/class_mailhandler.php
$parse_format = 'text';
$format="text"

.../forum/member.php
my_mail($to_user['email'], $mybb->get_input('subject'), $message, '', '', '', false, 'text', '', $from);

.../forum/sendthread.php
my_mail($mybb->input['email'], $mybb->input['subject'], $message, "", "", "", false, "text", "", $mybb->input['fromemail']);

.../forum/contact.php
my_mail($contactemail, $subject, $message, '', '', '', false, 'text', '', $mybb->get_input('email', MyBB::INPUT_STRING));

.../forum/inc/functions.php
function my_mail($to, $subject, $message, $from="", $charset="", $headers="", $keep_alive=false, $format="text", $message_text="", $return_email="")
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)