Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Encodes an email subject.

Component Version macOS Windows Linux Server iOS SDK
Text 4.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Text.EncodeEmailSubject"; Text )   More

(old name: String.EncodeEmailSubject)


Parameter Description Example
Text The text to encode. "Hello World äöü"


Returns email subject text.


Encodes an email subject.
Text is encoded with UTF-8 Quoted Printable encoding.
If text does not need to be encoded (pure ASCII), we return the input text.


Encode a text which does not need encoding:

MBS( "Text.EncodeEmailSubject"; "Hello World" )

Example result: Hello World

Encode a text with umlauts:

MBS( "Text.EncodeEmailSubject"; "Hello äöü" )

Example result: "=?UTF-8?Q?Hello_=C3=A4=C3=B6=C3=BC?="

Encode with emojis:

MBS( "Text.EncodeEmailSubject"; "🍎 🍓 🍒" )

Example result: =?UTF-8?Q?=F0=9F=8D=8E_=F0=9F=8D=93_=F0=9F=8D=92?=

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 31st January 2023

Text.EncodeBytesToBase64 - Text.EncodeHexToBase64