[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
RE: [mv] E-mail in HTML mode
I use
something like this on the receipt page:
[seti
mail_receipt]
[perl global=1 interpolate=1]
my $mail_prog =
"/usr/lib/sendmail";
open (MAIL, "|$mail_prog -t");
print MAIL
<<'end_html_email';
To: [value email] <[value
email]>
Reply-to: __ORDERS_TO__ <__ORDERS_TO__>
From: __COMPANY__
Customer Service <__ORDERS_TO__>
Subject: __COMPANY__ Order Number:
[value mv_order_number]
Content-type: text/html
<html>
<head>
<title>Construct
Something -- Order Receipt</title>
</head>
<body>
YOUR
HTML CODE HERE
</body>
</html>
end_html_email
close(MAIL);
[/perl]
[/seti]
I also
comment out the mail_receipt in catalog.cfg in the order route
statement.
Hope
this helps,
Cameron
Is it possible for
Minivend to send e-mail in HTML mode?
If it is, what is
the tips?
Because the sent
E-mail are not so good when they are sent in text mode.
Thanks for your
ansew.
Best
Regards.
Vincent
BRILLE