[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
RE: [mv] HTML order mail, mv 3.12
****** message to minivend-users from "Eran Binyamin Zeitoun" <eran_zeitoun@karmail.com> ******
Michael!,
1. There are two reoprt files... report.html which does the invoice display
on screen to customer
and send an e-mail to the store manager.
and there is also report. which is the file that goes by e-mail to the
customer.
2. Nice way of implemnting the HTML e-mail sending... let me recomend on
another
way which i came to After long fight with minivend... i understood that
to send a message
in a HTML format, you should edit the form_mail.cfg file in the minivend
directory (where miniend.cfg is),
and do the following changes after the "Subject: $subject\n", line there
is a "Errors-To..." line
replace it with:
"Errors-To: $Vend::Cfg->{MailOrderTo}\nMIME-Version: 1.0\nContent-Type:
text/html; charset=windows-1255\n",
(please check for error typing since i am writing it from memory...)
you should change the charset to the charset in your country (as i
noticed ISO-8859-1)...,
I used windows-1255 for display hebrew charset...
Hope I Helped somehow....
Bye Bye & Best Wishes,
Eran Binyamin Zeitoun.
-----Original Message-----
From: owner-minivend-users@minivend.com
[mailto:owner-minivend-users@minivend.com]On Behalf Of Michael Radke
Sent: Wednesday, March 08, 2000 6:30 AM
To: minivend
Subject: [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
-
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