How to embed HTML code in Notifications (Event)?

Moderator: crythias

Locked
RichH
Znuny newbie
Posts: 62
Joined: 13 Mar 2015, 18:34
Znuny Version: 6.4
Real Name: Rich Hagan
Company: Victorinox Swiss Army, Inc.

How to embed HTML code in Notifications (Event)?

Post by RichH »

OTRS Version: 3.3.12
OS: CentOS 6.5
Database: mySQL 6.5
Perl Version: Perl 5.10.1

Hi,

I'm trying to set up a Notification (event) for when tickets are "closed successfully" so that the customers receive an email with an HTML link to another website.

I've tried using the <OTRS_CONFIG_HttpType> tag, but the link shows up in the form http://xxx.xxx.com, which doesn't look good.

I'd like to embed the link in some statement like "please click here" - a normal HTML anchor.

It seems that the notification (event) message body only accepts plain text other than OTRS tags.

Is there anyway I can switch the notification (event) message body so that it accepts HTML?

Is it possible to use the <OTRS_CONFIG_HttpType> tag so I can embed the link instead of exposing it?

Any documentation on the <OTRS_CONFIG_HttpType> tag?

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

Re: How to embed HTML code in Notifications (Event)?

Post by jojo »

The Tag will just ue the protocol (http/https) which is used for otrs. It will not change any formattig.

As your version is old and unsupported you should switch to OTRS5 which has a newly designed notification framework which also can send HTML mails
"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
Locked