[rt-users] how add attachment to my perl file

Emmanuel Lacour elacour at easter-eggs.com
Wed Nov 5 14:27:06 EST 2014


Le 05/11/2014 19:47, Shahab Sharifzadeh a écrit :
> I have a perl code.
> in the code add comment on ticket (rt)..
> how can i add attach file to this code?
> 

RTFM?


perldoc RT::Client::REST
[...]
comment (ticket_id => $id, message => $message, %opts)

    Comment on a ticket with ID $id. Optionally takes arguments cc and
bcc which are references to lists of e-mail addresses and attachments
which is a list of filenames to be attached to the ticket.
[...]

;)

-- 
Easter-eggs                              Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris  -  France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37    -   Fax: +33 (0) 1 43 35 00 76
mailto:elacour at easter-eggs.com  -   http://www.easter-eggs.com



More information about the rt-users mailing list