Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8057 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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 (

Posted

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...

Posted

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.

Posted

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. smile.gif

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.