Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Foreign characters from FM to e-mail

Featured Replies

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 (

Maybe as an HTML email. Check SMTPit.

Good Luck.

Garry

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

  • Author

Nope... that didn't make any difference.. what did you mean by "check SMTPit" ?

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.

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

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

Yes it works for me with Czech Characters.

Why don

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.