HTML emails and attachments

We have updated our templates to use HTML but have noticed that now users don’t receive attachments when getting responses.

I have tried adding the RT-Attach-Message: yes to the top of the template and then adding Content-Type:text/html a few lines below it but that just make the whole email come out in HTML code.

Is there a way to have HTML emails work with attachments?

We have updated our templates to use HTML but have noticed that now users don’t receive
attachments when getting responses.

I have tried adding the RT-Attach-Message: yes to the top of the template and then adding
Content-Type:text/html a few lines below it but that just make the whole email come out in
HTML code.

Is there a way to have HTML emails work with attachments?

HTML emails and attachments work fine together.
Please post your template, I assume you have blank lines in the wrong
places.

-kevin

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-
bounces@lists.bestpractical.com] On Behalf Of Kevin Falcone
Sent: Friday, August 10, 2012 5:48 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] HTML emails and attachments

We have updated our templates to use HTML but have noticed that now
users don’t receive
attachments when getting responses.

I have tried adding the RT-Attach-Message: yes to the top of the
template and then adding
Content-Type:text/html a few lines below it but that just make the whole
email come out in
HTML code.

Is there a way to have HTML emails work with attachments?

HTML emails and attachments work fine together.
Please post your template, I assume you have blank lines in the wrong
places.

-kevin

Here is the template.
RT-Attach-Message: yes

Content-Type:text/html

Subject: Updated: {$Ticket->Subject}


Your request: { $Ticket->SubjectTag } has been updated or responded to.

{$Transaction->Content()}


Please keep the subject line { $Ticket->SubjectTag } for future correspondence relating to this request. Details about your request are at the end of this message. You may call your Pro River Support Team at 719-425-2148 then (Option 2) for support.

You will receive further emails as your request is addressed by our support staff.

www.domain.com
Have you liked us on Facebook



------------------------Original Message------------------------
Date: {$Transaction->Attachments->First->GetHeader('Date')}
To: {$Transaction->Attachments->First->GetHeader('To')}
From: {$Transaction->Attachments->First->GetHeader('From')}
Cc: {$Transaction->Attachments->First->GetHeader('Cc')}
Subject: {$Ticket->Subject}


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

[Josh Hopkins]

HTML emails and attachments work fine together.
Please post your template, I assume you have blank lines in the wrong
places.

Here is the template.
RT-Attach-Message: yes

Content-Type:text/html

See those two blank lines?
You can’t have those, it has to be RT-Attach-Message: yes and
Content-Type: text/html as the very first two lines in your template,
followed by a blank line, followed by your HTML.

-kevin