October 24, 200223 yr 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 (
October 24, 200223 yr Author 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...
October 24, 200223 yr Author Nope... that didn't make any difference.. what did you mean by "check SMTPit" ?
October 24, 200223 yr 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.
October 24, 200223 yr Author 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.
October 24, 200223 yr 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
Create an account or sign in to comment