IMAPEmailMessage Output Object (Get-IMAP Cmdlet)

Object containing the entire text of the email message.

Syntax

Object IMAPEmailMessage {
   string Headers;
   string Text;
   string From;
   string FromFriendlyName;
   string FromEmail;
   string To;
   string CC;
   string Subject;
   string Date;
   long Size;
   string Flags;
   int PartCount;
   string[] PartId;
   string[] PartSize;
   string[] PartContentEncoding;
   string[] PartContentType;
   string[] PartFileName;
   string[] PartMultiPartMode;
   string[] PartParameters;
}

Remarks

When retrieving email messages, the result from the mail Server will be stored in one or more MessageHeaders and EmailMessage objects. The MessageHeaders will contain brief information, such as who the message is from, the subject of the message, and the message Id and size. However, this Object will also contain the full message body in the Text parameter.

Copyright (c) 2022 /n software inc. - All rights reserved.
NetCmdlets 2020 - Version 20.0 [Build 8319]