diff --git a/drupal/sites/default/boinc/modules/boincteam/includes/boincteam.forms.inc b/drupal/sites/default/boinc/modules/boincteam/includes/boincteam.forms.inc index 5200cc6c07..94cc473189 100644 --- a/drupal/sites/default/boinc/modules/boincteam/includes/boincteam.forms.inc +++ b/drupal/sites/default/boinc/modules/boincteam/includes/boincteam.forms.inc @@ -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" . "${site_url}"; + // Transform HTML body into plain text + $mybody = drupal_html_to_text($mybody); + $emailsettings = array( 'from' => '', 'to' => "webmaster@{$base_url}",