Hi Dominik, Nice, i am Chinese user, wait for you.
-Never 2014-05-21 21:50 GMT+08:00 Dominik George <d.geo...@tarent.de>: > Hi, > > we faced the need to open tickets to all of our customers in order to inform > them about the Heartbleed bug and the necessary consequences and we wanted to > have that mail in OTRS as proof of the communication and for tracking. > > OTRS does not have an interface to send the same mail to all customers in > seperate tickets with reasonable customer and agent info, so I hacked together > a Python cript that uses the SOAP API to do the magic. > > It does: > > * Gather information needed to create the tickets > * Read exxceptions in the form of e-mail address endings > * Find all customers that do not match the exceptions > * Open tickets to all these customers, that: > - have the correct set of agent and customer > - are set to "pending auto close+" because we want to get rid > of the tickets should there not be any feedback > > The script has a known bug with everything else than ASCII in ticket title and > body because Unicode in Python 2 is a PITA. I will probably fix that in the > future or wait for patches ;). > > https://evolvis.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=useful-scripts/useful-scripts.git;a=blob_plain;f=otrs/otrs-mailcustomers.py;hb=HEAD > > Cheers, > Nik > > -- > tarent solutions GmbH > Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/ > Tel: +49 228 54881-319 • Fax: +49 228 54881-235 > HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941 > Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg > --------------------------------------------------------------------- > OTRS mailing list: otrs - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/otrs > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs