How to add Custom elemets to Notifications and Reply emails

Moderator: crythias

Locked
otrslanka
Znuny newbie
Posts: 65
Joined: 27 Feb 2012, 12:22
Znuny Version: 128000
Real Name: Hasitha
Company: abc

How to add Custom elemets to Notifications and Reply emails

Post by otrslanka »



I want to receive the customized mail message with well formatted elements like table, font color, styles... etc. How can i customize the notifications to receive mails in such format. I want to customize the format of event based notifications.

Please help me in this issue..

Regards,
Hasitha.


Last edited by otrslanka on 27 Feb 2012, 13:14, edited 3 times in total.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How to add Custom elemets to Notifications and Reply ema

Post by jojo »

please specify your question
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
otrslanka
Znuny newbie
Posts: 65
Joined: 27 Feb 2012, 12:22
Znuny Version: 128000
Real Name: Hasitha
Company: abc

Re: How to add Custom elemets to Notifications and Reply ema

Post by otrslanka »

jojo wrote:please specify your question

Also i want to use a same template(to obtain the well formatted message structure) for every mail and notification that is received by the clients.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How to add Custom elemets to Notifications and Reply ema

Post by jojo »

Notifications and Auto Replieas can not be used with HTML based formatting
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
otrslanka
Znuny newbie
Posts: 65
Joined: 27 Feb 2012, 12:22
Znuny Version: 128000
Real Name: Hasitha
Company: abc

Re: How to add Custom elemets to Notifications and Reply ema

Post by otrslanka »

jojo wrote:Notifications and Auto Replieas can not be used with HTML based formatting


I have cusomized following Auto ResponseS using HTML elemets. Is there any possible way to customize the Event Based notifications to obtain a well formatted outpout to obtain consistancy? Not possible with attachments?

default follow up (after a ticket follow up has been added)
default reject (after follow up and rejected of a closed ticket)
default reject/new ticket created (after closed follow up with new ticket creation)
default reply (after new ticket has been created)



Appreciate ur reply in advance
otrslanka
Znuny newbie
Posts: 65
Joined: 27 Feb 2012, 12:22
Znuny Version: 128000
Real Name: Hasitha
Company: abc

Re: How to add Custom elemets to Notifications and Reply ema

Post by otrslanka »

Image
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How to add Custom elemets to Notifications and Reply ema

Post by jojo »

no, thats not possible
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
otrslanka
Znuny newbie
Posts: 65
Joined: 27 Feb 2012, 12:22
Znuny Version: 128000
Real Name: Hasitha
Company: abc

Re: How to add Custom elemets to Notifications and Reply ema

Post by otrslanka »

jojo wrote:no, thats not possible

ABOVE PICTURE IS FOR THE AUTO REPLY, ITS PERFECTLY WORKING. IN THE AGENT NOTIFICATIONS THERE ARE;


Agent::AddNote
Agent::Escalation
Agent::EscalationNotifyBefore
Agent::FollowUp
Agent::LockTimeout
Agent::Move
Agent::NewTicket
Agent::OwnerUpdate
Agent::PendingReminder
Agent::ResponsibleUpdate OPTIONS ARE CUSTOMIZABLE. IS THERE ANY WAY TO CONFIGURE THESE NOTIFICATION FORMATS FOR AN EVENT? AT LEAST TO RECEIVE BY THE ADMINISTRATORS?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How to add Custom elemets to Notifications and Reply ema

Post by jojo »

as I already said: NO
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
kekkek
Znuny newbie
Posts: 4
Joined: 25 Oct 2011, 16:08
Znuny Version: 3dot1dot1
Real Name: Daniel

Re: How to add Custom elemets to Notifications and Reply ema

Post by kekkek »

Hello,

I also want to be able to use html in the Notification (Events) module. What I did was a horrible solution but its working so far, and I know it needs further testing, but if you want to give a try as well, we can share our knowledge.
In the otrs/Kernel did this:

Code: Select all

find . -name "*.pm" -print | xargs sed -i 's/text\/plain/text\/html/g'
This will replace text/plain with text/html minetype in all *.pm files. I assume this is a security breach, but not completely sure really. So far things are working. Please let know if you find anythink usefull on the manner.

And it would be a lot better to only modify the ones that are used by Notifications Events.

Sincerely,
DZA
Locked