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 2015-01-27 10:58:38

jackomowa
Member
Registered: 2015-01-27
Posts: 4

How to remove signature from the email while creating a ticket?

How to remove signature from the email, while sending a ticket or follow up?
Sending or replying on a follow up email received from GLPI generates a lot of unnecessary text.
GLPI v.85.2

Offline

#2 2015-01-27 12:06:10

jackomowa
Member
Registered: 2015-01-27
Posts: 4

Re: How to remove signature from the email while creating a ticket?

One of the feature of v 0.85.2 supposed to be:
"Improved import emails (removal of the signature and the previous posts before importation)"

so the question is, how can i find it?

Offline

#3 2015-01-30 23:06:29

bendodge
Member
Registered: 2015-01-23
Posts: 21

Re: How to remove signature from the email while creating a ticket?

This feature began working automatically for me, but not 100% of the time.

Offline

#4 2015-01-31 12:15:17

jackomowa
Member
Registered: 2015-01-27
Posts: 4

Re: How to remove signature from the email while creating a ticket?

I have just realized, that it started working for me too. But it is not perfect, as removal of the signature rely on the ex. Outlook configuration. GLPI will not remove the signature. It will remove old message part, but the new message with the same signature will remains.
It would be good to implement something like removing the message part, that starts from ex. 'best regards' or something.

Offline

#5 2021-01-12 09:36:29

krzykrzy
Member
Registered: 2021-01-12
Posts: 2

Re: How to remove signature from the email while creating a ticket?

Hello. I am sorry for refresh old post, but did somebody find the solution after 6 years?

Offline

#6 2021-01-12 18:21:29

laurixia
Member
Registered: 2020-11-17
Posts: 8

Re: How to remove signature from the email while creating a ticket?

Hi, today I casually ask myself the same thing

Offline

#7 2021-01-14 15:07:12

krzykrzy
Member
Registered: 2021-01-12
Posts: 2

Re: How to remove signature from the email while creating a ticket?

laurixia wrote:

Hi, today I casually ask myself the same thing


Let's check a Ticket Cleaner plugin on github.com/tomolimo/ticketcleaner
I am testing this solution but for now without success.

Offline

#8 2023-01-27 20:30:30

random389
Member
Registered: 2019-12-14
Posts: 29

Re: How to remove signature from the email while creating a ticket?

Hi,

I remove the thunderbird default message : "On 12/12/2012 randomuser wrote :" with pre_replace like this(and you can do this for signatures)"

In mailcollector.php, find the comment "clean mail content" around line 1215

Right after the comment "clean mail conten" : add  multiple variables like this with the "begin" or "end" signature characters in it.

$tkt['content'] = preg_replace('/' . preg_quote('On') .
                          '.*?' .
                          preg_quote('wrote:') . '/', '', $tkt['content']);
       }

Otherwise, you got the github.com/tomolimo/mailbehaviours but not you need it updated.

Kind regards,


Support GLPI with a donation : opencollective.com/glpi-project

Offline

Board footer

Powered by FluxBB