You are not logged in.
Pages: 1
Is it possible to switch alle mails/messages to textonly format instead of HTML?
Can't find any settings, but found the following in the "mailing.class.php":
/**
* Format the mail body to send
* @param $format text or html
* @param $sendprivate true if the email contains private followups
* @return mail body string
*/
Where can I find the switch?
--
Timm
Offline
Email are send in both format.
So your all mail client could read the mail send by glpi
You could test it in switching your configuration mail client to show only mail in text format.
JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au projet GLPI : Soutenir
Offline
Ah, yes I see.
Ok, is It possible to send only the Textpart?
--
Timm
Offline
Found it:
In ./inc/mailing.class.php near Line 500 change:
$mmail->Body=$this->get_mail_body("html",$private);
$mmail->isHTML(true);
$mmail->AltBody=$this->get_mail_body("text",$private);
to:
//$mmail->Body=$this->get_mail_body("html",$private);
$mmail->isHTML(false);
$mmail->AltBody=$this->get_mail_body("text",$private);
--
Timm
Offline
Pages: 1