Skip to main content

core.mailattachment.encoding

Home > @medplum/core > MailAttachment > encoding

MailAttachment.encoding property​

If set and content is string, then encodes the content to a Buffer using the specified encoding. Example values: 'base64', 'hex', 'binary' etc.

Signature:

readonly encoding?: string;