Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[mv] HTML order mail, mv 3.12



******    message to minivend-users from "Michael Radke" <mv@trendware.de>     ******

Hi list,

has anyone ever produced a html-coded order mail, both sent out to the customer
and the shop owner ? I am having trouble here, look what i have written in
"report.html" :

[perl arg=sub interpolate=1] form_mail (
                      q{[value x_mail]},
                      'Ihre Internet-Bestellung',
                      'you@are.there',
                      <<'EndOfOrder' )
[tag mime type TEXT/HTML; CHARSET=ISO-8859-1][/tag][tag mime Order Text]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD></HEAD>
<BODY BGCOLOR="#FFFFFF">
.
.
[/tag]
EndOfOrder
[/perl]
[tag mime type TEXT/HTML; CHARSET=ISO-8859-1][/tag][tag mime Order Text]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD></HEAD>
<BODY BGCOLOR="#FFFFFF">
.
.
</body></html>
[/tag]


The problem is : the first part of the mail, which is going to the customer,
through the perl routine, comes up in plain text without any html coding.

The second part arrives at the shop owner and looks nice.

What am I doing wrong? That [tag] should "catch it all" but I have never
been understanding that tag..

I have tried this out tonight, because I would like to add a checkbox on the
"checkout.html" : send confirmation only as plain text mail. All those, who
don't check this box, should become a more "nice" confirmation :

[if value plaintext]
        ...plaintext-mail-here ...
[else]
        ...html-mail-here...
[/if]

But sending out the html-mails seems to be "too heavy" for me at this moment...
(i am still working without that checkbox)

Thanks in advance,
Michael



-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: