Re: [rt-users] HTML attachment - transaction has no content
Mark Regensberg markr at yaxs.net writes: Hi List We are running 3.8.8 on Debian/mod_perl/Perl v5.10 Our RT instance has been working for some time - we now have a queue where HTML/rich text emails (outbound) are preferred for a variety of reasons. When an HTML /reply/ to correspondence is sent out with an attachment, the correct scrip fires (On Correspond Notify Requestors and Ccs) however the requestor receives a This transaction appears to have no content email with the attachment. The ticket history shows the same, i.e. the HTML body portion has been dropped. Excerpt below. Content type is text/plain, but I have no idea where this is set for outbound mails. I have trawled the lists, docs and wiki and seen a few references to (what appears to be a) this bug, but I can't work out if this is a current bug or if we aren't handling/configuring something correctly. any ideas appreciated. --Mark From the ticket history: Managed-by: RT 3.8.8 (http://www.bestpractical.com/rt/) RT-Originator: **cut** To: **cut** MIME-Version: 1.0 X-RT-Original-Encoding: utf-8 Date: Fri, 28 Jan 2011 16:46:11 +0200 RT-Attachment: 19739/277018/184165 RT-Attachment: 19739/277018/184166 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit This transaction appears to have no content From the logs: [Fri Jan 28 14:46:11 2011] [info]: rt-3.8.8-17751-1296225971-1977.19739-6-0 at **cut** #19739/277018 - Scrip 6 On Correspond Notify Requestors and Ccs (/opt/rt3/bin/../lib/ RT/Action/SendEmail.pm:300) [Fri Jan 28 14:46:11 2011] [info]: rt-3.8.8-17751-1296225971-1977.19739-6-0 at **cut** sent To: ***cut*** (/opt/rt3/bin/../lib/RT/Action/SendEmail.p m:331) Dear Mark, H ave you able to resolved the issue.Me also facing the same issue.Please help me out in this . Thanks Alok
Re: [rt-users] HTML attachment - transaction has no content
Hi (again) On 31 Jan 2011, at 6:22 PM, I wrote: When an HTML /reply/ to correspondence is sent out with an attachment, the correct scrip fires (On Correspond Notify Requestors and Ccs) however the requestor receives a This transaction appears to have no content email with the attachment. The ticket history shows the same, i.e. the HTML body portion has been dropped. Excerpt below. Content type is text/plain, but I have no idea where this is set for outbound mails. I have trawled the lists, docs and wiki and seen a few references to (what appears to be a) this bug, but I can't work out if this is a current bug or if we aren't handling/configuring something correctly. further to my last mail, and after going through some of the more obvious stuff again (and templates.pod), I am now setting Content-Type: text/html in the template. This now delivers HTML content and the attachments in good order, and plain text still works as expected. Just as I thought all my problems had been solved and was going to tattoo RTFM on my right hand, my test with an HTML email + attachment produced a duplicate message body, along with the attachment. So I have now gone from no message body to having a duplicate message body. I'm also starting to think HTML emails were an elaborate prank by the same person who invented elevator music. any ideas? current Correspondence template looks like this: -- RT-Attach-Message: yes Content-Type: text/html {$Transaction-Content()} -- (note: I did try {$Transaction-Content(Type = 'text/html')} as well, but this didn't make any difference I could pick up) Mark
Re: [rt-users] HTML attachment - transaction has no content
On 01 Feb 2011, at 7:12 PM, I wrote: current Correspondence template looks like this: -- RT-Attach-Message: yes Content-Type: text/html {$Transaction-Content()} -- ok, so it turns out the RT-Attach-Message needs to be after the Content-Type. Problem solved :) Mark
[rt-users] HTML attachment - transaction has no content
Hi List We are running 3.8.8 on Debian/mod_perl/Perl v5.10 Our RT instance has been working for some time - we now have a queue where HTML/rich text emails (outbound) are preferred for a variety of reasons. When an HTML /reply/ to correspondence is sent out with an attachment, the correct scrip fires (On Correspond Notify Requestors and Ccs) however the requestor receives a This transaction appears to have no content email with the attachment. The ticket history shows the same, i.e. the HTML body portion has been dropped. Excerpt below. Content type is text/plain, but I have no idea where this is set for outbound mails. I have trawled the lists, docs and wiki and seen a few references to (what appears to be a) this bug, but I can't work out if this is a current bug or if we aren't handling/configuring something correctly. any ideas appreciated. --Mark From the ticket history: Managed-by: RT 3.8.8 (http://www.bestpractical.com/rt/) RT-Originator: **cut** To: **cut** MIME-Version: 1.0 X-RT-Original-Encoding: utf-8 Date: Fri, 28 Jan 2011 16:46:11 +0200 RT-Attachment: 19739/277018/184165 RT-Attachment: 19739/277018/184166 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit This transaction appears to have no content From the logs: [Fri Jan 28 14:46:11 2011] [info]: rt-3.8.8-17751-1296225971-1977.19739-6-0@**cut** #19739/277018 - Scrip 6 On Correspond Notify Requestors and Ccs (/opt/rt3/bin/../lib/ RT/Action/SendEmail.pm:300) [Fri Jan 28 14:46:11 2011] [info]: rt-3.8.8-17751-1296225971-1977.19739-6-0@**cut** sent To: ***cut*** (/opt/rt3/bin/../lib/RT/Action/SendEmail.p m:331)