Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3   12.4    Statistic    FMM    Blog  

Text.EncodeEmailSubject

Encodes an email subject.

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

(old name: String.EncodeEmailSubject)

Parameters

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

Result

Returns email subject text.

Description

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.

Examples

Encode a text which does not need encoding:

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

Example result: Hello World

Encodes a text with umlauts:

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

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

Blog Entries

Created 18th August 2014, last changed 16th February 2018


Text.EncodeBytesToBase64 - Text.EncodeHexToBase64

Feedback: Report problem or ask question.


Start Chat