Silvia Posted October 24, 2002 Posted October 24, 2002 I have a shop in FM. When someone has ordered something he/she get's an e-mail with a copy of their order. The shop is in Norwegian, and when some of the items in the shop have Norwegian letters in them (
Garry Claridge Posted October 24, 2002 Posted October 24, 2002 Maybe as an HTML email. Check SMTPit. Good Luck. Garry
Silvia Posted October 24, 2002 Author Posted October 24, 2002 The shop uses a txt file as template for the mail... so you're saing that I could use an HTML document instead... and that might do the trick? I'll give it a try...
Silvia Posted October 24, 2002 Author Posted October 24, 2002 Nope... that didn't make any difference.. what did you mean by "check SMTPit" ?
Anatoli Posted October 24, 2002 Posted October 24, 2002 That is plugin with great support! What coding did you used? FM is quite OK with Windows coding in email. The same what is in db is sending to email. I have to use the RAW format for Czech language CE coding. Internally FM doesn't code everything correctly above 7-bit.
Silvia Posted October 24, 2002 Author Posted October 24, 2002 I'm sorry, I forgot to say that the shop is based on FM, but it is accessed through HTML/CDML pages... when the customer is finished ordering he/she clicks "Confirm" and then the shop automatically sends a copy of the order via e-mail to the customer. The e-mail is sent from an HTML page using a txt-file like this: [color:"blue"] <FORM METHOD="POST" ACTION="FMPro" NAME="checkoutform"> <INPUT TYPE="hidden" NAME="-db" VALUE="Orders.FP5"> <INPUT TYPE="hidden" NAME="-format" VALUE="thanks.htm"> <INPUT TYPE="hidden" NAME="-error" VALUE="checkout.htm"> <INPUT TYPE="hidden" NAME="-lay" VALUE="CGI"> <INPUT TYPE="hidden" NAME="-token" VALUE="[FMP-currenttoken]"> <INPUT TYPE="hidden" NAME="-recid" VALUE="[FMP-currenttoken]"> <INPUT TYPE="hidden" NAME="Order ID" VALUE="[FMP-currenttoken]"> <INPUT TYPE="hidden" NAME="-edit" VALUE=""> <INPUT TYPE="hidden" NAME="-mailhost" VALUE="ipadresse"> <INPUT TYPE="hidden" NAME="-mailfrom" VALUE="[email protected]"> <INPUT TYPE="hidden" NAME="-mailcc" VALUE="[email protected]"> <INPUT TYPE="hidden" NAME="-mailbcc" VALUE="[email protected]"> <INPUT TYPE="hidden" NAME="-mailto" VALUE="[FMP-field:Customers::Email]"> <INPUT TYPE="hidden" NAME="-mailsub" VALUE="Order"> <INPUT TYPE="hidden" NAME="-mailformat" VALUE="emailorder.txt"></FORM> And this is how the txt file looks (emailorder.txt): [color:"blue"] Thanks for ordering, your number is: [FMP-field:Order ID] date: [FMP-field:Order Date]. You ordered these items: Antall | Artikkelnr | Artikkelnavn | Pris | Ext. Pris ------------------------------------------------ [FMP-portal:Ordered Items] [FMP-field:Ordered Items::Quantity] | [FMP-field:Ordered Items::Product ID] | [FMP-field:Ordered Items::Product Name] | [FMP-field:Ordered Items::Formatted Price] | [FMP-field:Ordered Items::Formatted Total] [/FMP-portal] SUM: [FMP-field:Formatted Total] Your personal details: ------------------------------------------------ Kunde ID: [FMP-field:Customers::Customer ID] Name: [FMP-field:Customers::FirstName] [FMP-field:Customers::LastName][FMP-if:Customers::Organization.neq.] Organisasjon/firma: [FMP-field:Customers::Organization][/FMP-if] Adresse: [FMP-field:Customers::Address] [FMP-field:Customers::City], [FMP-field:Customers::StateProvince] [FMP-field:Customers::PostalCode] Email: [FMP-field:Customers::Email] Will the SMTPit send the mail for me the same way? Or is there something else I can do to fix this?? Thanks for your help.
Garry Claridge Posted October 24, 2002 Posted October 24, 2002 Here is the URL for SMTPit: http://www.smtpit.com/ It uses a Script to compose and send the email. So you would use the "-script" tag. All the best. Garry
Anatoli Posted October 25, 2002 Posted October 25, 2002 Yes it works for me with Czech Characters. Why don
Recommended Posts
This topic is 8057 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now