IPWorks OpenPGP 2020 JavaScript Edition

Questions / Feedback?

DecodeFromString Method

Decodes from string.

Syntax

async mime.decodeFromString(): Promise<void>

Remarks

This method decodes from string. Same as DecodeFromFile, but now the Message denotes the real encoded message rather than a filename.

This method decodes the data given in Message and optionally MessageHeaders and fills out the Parts properties.

Example (Decoding Mail Message)


MIMEControl.MessageHeadersString = MailControl.MessageHeaders
MIMEControl.Message = MailControl.MessageText
MIMEControl.DecodeFromString

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 JavaScript Edition - Version 20.0 [Build 8262]