[rt-users] RT-Attach-Message

Ruslan U. Zakirov cubic at acronis.ru
Mon Mar 15 08:16:12 EST 2004


Chris Ridd wrote:
> On 15/3/04 11:05 am, Ruslan U. Zakirov <cubic at acronis.ru> wrote:
> 
> 
>>Chris Ridd wrote:
>>
>>>The April 13 2003 draft of the manual notes that the "latest" version of RT
>>>supports the inclusion of original messages as attachments instead of
>>>inline.
>>>
>>>I tried changing the autoreply template so that the heading was just:
>>>
>>>RT-Attach-Message: yes
>>
>>This adds not all parts of mail as attachments.
> 
> 
> What does it add?
 From code I see next:
1) It skips empty parts.
2) It skips Transaction->Content part. So you shouldn't remove it and 
also can't attach this part not in inline style. "Feature/bug"
3) It skips all 'text/plain' parts. For me it's a bug, 'report.txt' has 
type 'text/plain' but have to be attached. :(

Just in case on wiki.bestpractical.com there is example of template part 
which add links on attachments to mail.
> 
> 
>>>Subject: AutoReply: {$Ticket->Subject}
>>>
>>>I removed the trailing {$Transaction->Content()} stuff because I didn't want
>>>the content twice.
>>
>>You shouldn't remove this.
> 
> 
> If the message isn't being attached as I hoped, then I agree I need to
> restore this code.
> 
> 
>>>Unfortunately the autoreply messages do not contain the original message as
>>>an attachment. Since the content is also no longer inline, I assume the
>>>template's being used correctly. No errors are being logged by RT.
>>
>>Now you can't add orig message as attachment.
> 
> 
> OK, so is this feature mis-described in the documentation?
Not described deep enough :) You could fix it and send 'diff -u' patch.
> 
> Cheers,
> 
> Chris
> 




More information about the rt-users mailing list