You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2008-06-09 23:06:50

brtb
Member
Registered: 2008-06-09
Posts: 9

Force to text e-mails only?

Is there any way to have GLPI send out text e-mails only? I have some issues with a few odd e-mail clients that are getting confused with GLPI's HTML.

I looked at the code in mailing.class.php and tried to set the calls to get_mail_body() to text mode, but somewhere it's still setting a text/html MIME type so the formatting comes out all wrong.

Offline

#2 2008-06-09 23:14:08

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Force to text e-mails only?

all mails are send in html AND text.
If you mailer is configured to read text mail you will displayed them in text mode.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#3 2008-06-10 14:21:29

brtb
Member
Registered: 2008-06-09
Posts: 9

Re: Force to text e-mails only?

Yes, and that's the problem - I have some broken e-mail clients that don't render the multi-format e-mails properly, so I need to disable the HTML and have them sent in text only.

Offline

#4 2008-06-10 14:31:11

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Force to text e-mails only?

you need to modify mailing.class.php to disable html part sending


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#5 2008-06-11 19:46:21

brtb
Member
Registered: 2008-06-09
Posts: 9

Re: Force to text e-mails only?

okay, so at least I was on the right track. thanks.

Offline

#6 2008-06-11 23:16:42

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Force to text e-mails only?

I close


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

Board footer

Powered by FluxBB