Send all tickets in pdf via email

Moderator: crythias

Locked
sale1902
Znuny newbie
Posts: 13
Joined: 23 Dec 2011, 11:44
Znuny Version: 3.0.8
Real Name: Aleksandar Jovanović
Company: M.A.I. Trade

Send all tickets in pdf via email

Post by sale1902 »

Hi,

what i am trying to accomplish is: Every two weeks, send all tickets that satisfy certain conditions (dynamic field values,..) in pdf format via email.

Alot of ideas come to my mind, but best one seems like: whenever above mentioned conditions are met, on TicketClose, save/print pdf ticket locally (on server), then create bash script that will just send all those files whenever the cronjob is defined for it.

Now bash script+cron is not an issue for me. Issue is how/where to implement first part. Anyone has ever done anything like this? Or maybe has a better/easier approach to this than me?

Any help would be much appreciated.
OTRS v3.2.7. on Ubuntu server 11.10.
MySQL database
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Send all tickets in pdf via email

Post by reneeb »

I've done something similar for a customer... Create a script that does the same as "AgentTicketPrint" but instead of sending the PDF to the browser, send it via mail...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
sale1902
Znuny newbie
Posts: 13
Joined: 23 Dec 2011, 11:44
Znuny Version: 3.0.8
Real Name: Aleksandar Jovanović
Company: M.A.I. Trade

Re: Send all tickets in pdf via email

Post by sale1902 »

That sounds good, will try that.
OTRS v3.2.7. on Ubuntu server 11.10.
MySQL database
tntkonrad
Znuny newbie
Posts: 20
Joined: 16 Feb 2015, 10:07
Znuny Version: 5.0.10

Re: Send all tickets in pdf via email

Post by tntkonrad »

Hello,

i have the same Problem. Is there a solution or a hint for that.
Maybe some code would be nice.

Thank you.

Konrad
Locked