mirror of https://github.com/BOINC/boinc.git
Transform HTML body into plain text, if any
This commit is contained in:
parent
9e98d38f84
commit
4fee51336f
|
@ -826,6 +826,9 @@ function boincteam_sendmessagetoteam_submit($form, &$form_state) {
|
||||||
. "To reply to the sender using a Direct Message (DM), please use this link:\n"
|
. "To reply to the sender using a Direct Message (DM), please use this link:\n"
|
||||||
. "${site_url}";
|
. "${site_url}";
|
||||||
|
|
||||||
|
// Transform HTML body into plain text
|
||||||
|
$mybody = drupal_html_to_text($mybody);
|
||||||
|
|
||||||
$emailsettings = array(
|
$emailsettings = array(
|
||||||
'from' => '',
|
'from' => '',
|
||||||
'to' => "webmaster@{$base_url}",
|
'to' => "webmaster@{$base_url}",
|
||||||
|
|
Loading…
Reference in New Issue