SysMailerNet.bodyCharSet Method [AX 2012]

Specify content-type for the mail message using a valid charset name

Syntax

public str bodyCharSet([str charSet])

Run On

Called

Parameters

  • charSet
    Type: str
    Refers to any valid encoding name returned by the "Encoding.GetEncodings()" .NET Framework API

Return Value

Type: str
Formatted sender email address

Remarks

Corresponds to the "BodyEncoding" System.Net.Mail.MailMessage mail header property.

The character set is used to determine the content-type for the mail message.

If no valid charset is specified, the encoding is defaulted to UTF-8.

See Also

Reference

SysMailerNet Class