[rt-users] MIME in RT.
manohar.r at glowtouch.com
manohar.r at glowtouch.com
Sat Sep 5 12:03:00 EDT 2009
Hi,
Tried working around with content-type: text/html , text , html , mime in
the transaction template header part but the thing happend is that the
mime mail body got displayed in the correpondance mail (transaction) twice
i.e, repeated content.
Please find the attached file for reference.
Currently my transaction template content is as follows:
RT-Attach-Message: yes
content-type: text/mime
{$Transaction->CreatedAsString}: Request {$Ticket->id} was acted upon.
Transaction: {$Transaction->Description}
Queue: {$Ticket->QueueObj->Name}
Subject: {$Transaction->Subject || $Ticket->Subject || "(No subject
given)"}
Owner: {$Ticket->OwnerObj->Name}
Requestors: {$Ticket->RequestorAddresses}
Status: {$Ticket->Status}
Ticket <URL:
{RT->Config->Get('WebURL')}Ticket/Display.html?id={$Ticket->id} >
===============================================================================
{$Transaction->Content()}
"something worked but got some extra (buy 1 get 1 free). :)"
Thanks
Manohar
> Hi Jesse,
>
> I tried content-type in the header of email set via templates.
>
> Didn't seem to be working...
>
> here is my template:
>
> ----------------------------------------------------------------------------
> content-type: text/html
> RT-Attach-Message: yes
>
>
> {$Transaction->CreatedAsString}: Request {$Ticket->id} was acted upon.
> Transaction: {$Transaction->Description}
> Queue: {$Ticket->QueueObj->Name}
> Subject: {$Transaction->Subject || $Ticket->Subject || "(No subject
> given)"}
> Owner: {$Ticket->OwnerObj->Name}
> Requestors: {$Ticket->RequestorAddresses}
> Status: {$Ticket->Status}
> Ticket <URL:
> {RT->Config->Get('WebURL')}Ticket/Display.html?id={$Ticket->id} >
>
>
> {$Transaction->Content()}
>
> ----------------------------------------------------------------------------
>
>
> Is this the right way? If not how can I implement it?
>
> Thanks
> Manohar
>
> -----Original Message-----
> From: H Manohar rayker [mailto:manohar.r at glowtouch.com]
> Sent: Saturday, September 05, 2009 4:49 PM
> To: 'H Manohar rayker'; 'Jesse Vincent'
> Cc: rt-users at lists.bestpractical.com
> Subject: RE: [rt-users] MIME in RT.
>
> Hi Jesse,
>
> I installed the Email-MIME-CreateHTML and related dependent packages via
> cpan & also installed Bundle::Email, but still we get the MIME content as
> an
> html attachment rather than displaying full content.
>
>
> Not getting any idea to proceed further. :(
>
> Thanks
> Manohar
>
>
>
> -----Original Message-----
> From: rt-users-bounces at lists.bestpractical.com
> [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of H Manohar
> rayker
> Sent: Saturday, September 05, 2009 12:18 PM
> To: 'Jesse Vincent'
> Cc: rt-users at lists.bestpractical.com
> Subject: Re: [rt-users] MIME in RT.
>
> Hi,
>
> I am using RT 3.8.4.
>
> In the attachment *) mime_mail1.txt : the actual mail content is attached
> as
> a .htm file and nothing displays in the transaction content.
>
> In the second attachment *)plain_text_content_type.txt : this displays the
> content of the transaction.
>
> I hope this could help you.
>
> Also I did little R&D, and found Email-MIME-CreateHTML-1.026 in cpan.
> Would
> it be possible if this module is missing or so..? I have to check it yet
> if
> its installed in my system. I'll try to install this and see what
> happens..
>
> Keep you posted..
>
>
> Thanks
> Manohar
>
> -----Original Message-----
> From: rt-users-bounces at lists.bestpractical.com
> [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Jesse
> Vincent
> Sent: Friday, September 04, 2009 9:01 PM
> To: H Manohar rayker
> Cc: rt-users at lists.bestpractical.com
> Subject: Re: [rt-users] MIME in RT.
>
>
>
>
> On Fri, Sep 04, 2009 at 08:50:55PM +0530, H Manohar rayker wrote:
>> Hi,
>>
>>
>>
>> Mails received to RT with "Content-type: multipart/mixed;
>> boundary="----------=_1252065429-28139-0" in the mail header info are
>> not
>> getting displayed back while replying or corresponding back VIA RT (
>> i.e,
>> transaction->content)
>>
>
> They generally do for me. Can you show us the full MIME structure of
> a failing message? (Also, what version of RT are you running?)
>>
>>
>> However Content-Type: text/plain; charset="utf-8" will get displayed in
> the
>> transaction->content results.
>>
>>
>>
>> How can I enable this in RT?
>>
>>
>>
>>
>>
>> Thanks
>>
>> Manohar
>>
>
>> _______________________________________________
>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>>
>> Community help: http://wiki.bestpractical.com
>> Commercial support: sales at bestpractical.com
>>
>>
>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
>> Buy a copy at http://rtbook.bestpractical.com
>
> --
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
>
More information about the rt-users
mailing list