[ic] HTML Confirmation / HTML ship_notice

Duane Hinkley duane at dhwd.com
Sun Aug 28 09:34:00 EDT 2005


Adrian P Wilkinson wrote:

> Howdy,
>
> I've reviewed the list archive concerning sending HTML emails and have 
> only come across a "this should work" posting rather than a confirmed 
> working one, but I've used the theoretical example in my ship_notice 
> as follows:
>
> ====================================================================
> [tag op=mime
>      type="TEXT/PLAIN; CHARSET=ISO-8859-1"
>      description="Order Text"
>      interpolate=1]
> This is a plain text section.
> [/tag]
>
> [tag op=mime
>      type="TEXT/HTML; CHARSET=ISO-8859-1"
>      description="Order Text (HTML)"
>      interpolate=1]
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=3DContent-Type content=3D"text/html; =
> charset=3Diso-8859-1">
> <META content=3D"MSHTML 6.00.2900.2722" name=3DGENERATOR></HEAD>
> <BODY>
> <b>HTML Test</b>
> <BODY></HTML>
> [/tag]
> ====================================================================
>
> The resulting email looks as follows:
>
> ====================================================================
> ---gSsakMqd-399:=26684
> Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1
> Content-ID: 
> <Interchange.5.2.0.050828131922.gSsakMqd.400 at http://www.storename.co.uk/go/storename> 
>
> Content-Disposition: inline
> Content-Description: Order Text
>
> This is a plain text section.
>
>> ---gSsakMqd-399:=26684
>
> Content-Type: TEXT/HTML; CHARSET=ISO-8859-1
> Content-ID: 
> <Interchange.5.2.0.050828131922.gSsakMqd.401 at http://www.storename.co.uk/go/storename> 
>
> Content-Disposition: inline
> Content-Description: Order Text (HTML)
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN>
> (etc)
> ====================================================================
>
> Can someone provide me with some pointers on how to send HTML 
> confirmation mails via Interchange?
>
> Regards, Ade.
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>
Ade,

Here's what I use on my clients sites for email_receipt:

============================
[if value email_copy]
Sending email copy of order [value mv_order_number] to [value email]: 
[email to="[value email]"
    subject="Thank you for your order #[value mv_order_number]!"
    from=|"__COMPANY__ Customer Service" <__ORDERS_TO__>| extra=|[tag 
op=mime arg=header][/tag]|]
[tag
    op=mime   
    description="Order Text"
    interpolate=1
    type=text/plain
]
,
.
.
[/tag]
[tag    op=mime
        interpolate=1
        type=text/html
        description="htmlreceipt"]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
.
.
</HTML>

[/tag]
[/email]
[else]Email copy of order [value mv_order_number] NOT REQUESTED for 
[value email].[/else]
[/if]

============================

-- 

Sincerely,

Duane Hinkley
Down Home Web Design, Inc.
(208) 424-0572 Fax(208) 587-0738

duane at downhomewebdesign.com
www.downhomewebdesign.com



More information about the interchange-users mailing list