[rt-users] Add Attachments to Custom Template

2013-06-11 Thread globo
Hi, 

I have a template that emails a group when a ticket changes queue with the
details of the request. I need to add the attachments to the email, but I
cant figure out whats required to add the attachments. 


---

Condition : On Queue Change 
Action  : Notify Other Recipients 
Template :  My Template Name 
Stage  : Transaction Create 

--


Template - My Template Name 


To: { my $group = RT::Group-new( $RT::SystemUser );
$group-LoadUserDefinedGroup(My Group);
$group-MemberEmailAddressesAsString; }

{$Ticket-Transactions-First-Content()}

-

Anyone have a script that adds attachments ?

Any help much appreciated.  







--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/Add-Attachments-to-Custom-Template-tp54247.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.


-- 
RT Training in Seattle, June 19-20: http://bestpractical.com/training


Re: [rt-users] Add Attachments to Custom Template

2013-06-11 Thread Ruslan Zakirov
Have you seen the following?

http://requesttracker.wikia.com/wiki/Template#Attaching_original_attachments_to_the_mail


On Tue, Jun 11, 2013 at 8:12 PM, globo michael.obr...@globoforce.comwrote:

 Hi,

 I have a template that emails a group when a ticket changes queue with the
 details of the request. I need to add the attachments to the email, but I
 cant figure out whats required to add the attachments.


 ---

 Condition : On Queue Change
 Action  : Notify Other Recipients
 Template :  My Template Name
 Stage  : Transaction Create

 --


 Template - My Template Name
 

 To: { my $group = RT::Group-new( $RT::SystemUser );
 $group-LoadUserDefinedGroup(My Group);
 $group-MemberEmailAddressesAsString; }

 {$Ticket-Transactions-First-Content()}

 -

 Anyone have a script that adds attachments ?

 Any help much appreciated.







 --
 View this message in context:
 http://requesttracker.8502.n7.nabble.com/Add-Attachments-to-Custom-Template-tp54247.html
 Sent from the Request Tracker - User mailing list archive at Nabble.com.


 --
 RT Training in Seattle, June 19-20: http://bestpractical.com/training




-- 
Best regards, Ruslan.


-- 
RT Training in Seattle, June 19-20: http://bestpractical.com/training

Re: [rt-users] Add Attachments to Custom Template

2013-06-11 Thread globo
thanks Ruslan for the link. 

I made the changes and now I get the images as
[cid:image001.jpg@018998C2.1ErttE250] in the email notifications. Is there
anyway to get the images to attached to the email or to get the image to
display correctly ? 



--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/Add-Attachments-to-Custom-Template-tp54247p54251.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.


-- 
RT Training in Seattle, June 19-20: http://bestpractical.com/training