Skip to content

BPA Email Message

BPAEmailMessage Public interface

Description

Describes methods and properties available on the static instance object BPA.Email.Message.

Diagram

flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph VGWWCoreIEx
VGWWCoreIEx.IExBPAEmailMessage[[IExBPAEmailMessage]]
class VGWWCoreIEx.IExBPAEmailMessage interfaceStyle;
end

Members

Properties

Public properties

TypeNameMethods
intAttachmentLevel
Gets the number of level a message is nested within attachments.
get
IExMFGSEmailAttachmentCollectionAttachments
Gets the attachment collection of the message.
get
IExMFGSEmailAddressCollectionBcc
Gets the collection of addresses in the Bcc header.
get
stringBodyHtml
Gets the html body of the message if it exists.
get, set
stringBodyText
Gets the text body of the message if it exists.
get, set
IExMFGSEmailAddressCollectionCc
Gets the collection of addresses in the Cc header.
get
DateTimeDate
Gets the date of the message.
get, set
BPAEmailMessageFlagsFlags
Gets the flags set on the message.
get
MFGSEmailMessageImportanceImportance
Gets or sets the message importance.
get, set
boolIsAttachment
Gets if the message is an attachment of another message.
get
boolIsFlagged
Gets or sets an indicator if the message has been flagged.
get, set
boolIsHtml
Gets if the message contains an html body.
get
boolIsSeen
Gets or sets an indicator if the message has been seen.
get, set
stringMessageId
Gets the message identifier.
get
IExMFGSEmailMessageParentMessage
Gets the parent message if this message is an attachment.
get
MFGSEmailMessagePriorityPriority
Gets or sets the message priority.
get, set
IExMFGSEmailAddressCollectionReplyTo
Gets the collection of addresses in the ReplyTo header.
get
boolRequestReceiptDelivery
Gets or sets if a receipt should be sent to the sender upon delivery of the message.
get, set
boolRequestReceiptRead
Gets or sets if a receipt should be sent to the sender once the message has been read.
get, set
IExMFGSEmailResourceCollectionResources
Gets the resource collection of the message.
get
IExMFGSEmailAddressSender
Gets the address in the Sender header.
get
stringSubject
Gets the message subject.
get, set
IExMFGSEmailAddressCollectionTo
Gets the collection of addresses in the To header.
get
intUniqueId
Gets the unique identifier of the message within the current folder.
get

Methods

Public methods

ReturnsName
voidDelete()
Deletes the message from the current folder.
voidMove(string folderPath)
Moves a message to a different folder.
voidResend(string toAddresses, string subject, string fromAddress)
Resends the message.
voidSkipAuto()
Flags the watcher to skip any automatic processing after session has ended.

Details

Summary

Describes methods and properties available on the static instance object BPA.Email.Message.

Methods

Delete

public void Delete()
Summary

Deletes the message from the current folder.

Move

public void Move(string folderPath)
Arguments
TypeNameDescription
stringfolderPath
Summary

Moves a message to a different folder.

SkipAuto

public void SkipAuto()
Summary

Flags the watcher to skip any automatic processing after session has ended.

Remarks

An email watcher can be configured to automatically perform certain processes on a message, like moving to a different folder or flagging it as seen, once the script has finished.

Resend

public void Resend(string toAddresses, string subject, string fromAddress)
Arguments
TypeNameDescription
stringtoAddressesA semi-colon delimited list of addresses the message will be sent to.
stringsubjectThe subject of the message. If blank, the existing subject will be used.
stringfromAddressThe address the message should be sent from. If blank, the default SMTP from address will be used.
Summary

Resends the message.

Properties

MessageId

public string MessageId { get; }
Summary

Gets the message identifier.

Remarks

The MessageId is meant to be a globally unique identifier for a message.

Subject

public string Subject { get; set; }
Summary

Gets the message subject.

Date

public DateTime Date { get; set; }
Summary

Gets the date of the message.

Remarks

If the date is not explicitly set before the message is written to a stream, the date will default to the exact moment when it is written to said stream.

Sender

public IExMFGSEmailAddress Sender { get; }
Summary

Gets the address in the Sender header.

To

public IExMFGSEmailAddressCollection To { get; }
Summary

Gets the collection of addresses in the To header.

Cc

public IExMFGSEmailAddressCollection Cc { get; }
Summary

Gets the collection of addresses in the Cc header.

Bcc

public IExMFGSEmailAddressCollection Bcc { get; }
Summary

Gets the collection of addresses in the Bcc header.

ReplyTo

public IExMFGSEmailAddressCollection ReplyTo { get; }
Summary

Gets the collection of addresses in the ReplyTo header.

BodyText

public string BodyText { get; set; }
Summary

Gets the text body of the message if it exists.

BodyHtml

public string BodyHtml { get; set; }
Summary

Gets the html body of the message if it exists.

IsHtml

public bool IsHtml { get; }
Summary

Gets if the message contains an html body.

Attachments

public IExMFGSEmailAttachmentCollection Attachments { get; }
Summary

Gets the attachment collection of the message.

Resources

public IExMFGSEmailResourceCollection Resources { get; }
Summary

Gets the resource collection of the message.

Importance

public MFGSEmailMessageImportance Importance { get; set; }
Summary

Gets or sets the message importance.

Priority

public MFGSEmailMessagePriority Priority { get; set; }
Summary

Gets or sets the message priority.

RequestReceiptDelivery

public bool RequestReceiptDelivery { get; set; }
Summary

Gets or sets if a receipt should be sent to the sender upon delivery of the message.

Remarks

Not all email systems support delivery receipt.

RequestReceiptRead

public bool RequestReceiptRead { get; set; }
Summary

Gets or sets if a receipt should be sent to the sender once the message has been read.

Remarks

Not all email systems support read receipt.

UniqueId

public int UniqueId { get; }
Summary

Gets the unique identifier of the message within the current folder.

Remarks

This value can change if the message is moved to a different folder.

Flags

public BPAEmailMessageFlags Flags { get; }
Summary

Gets the flags set on the message.

IsSeen

public bool IsSeen { get; set; }
Summary

Gets or sets an indicator if the message has been seen.

IsFlagged

public bool IsFlagged { get; set; }
Summary

Gets or sets an indicator if the message has been flagged.

IsAttachment

public bool IsAttachment { get; }
Summary

Gets if the message is an attachment of another message.

AttachmentLevel

public int AttachmentLevel { get; }
Summary

Gets the number of level a message is nested within attachments.

ParentMessage

public IExMFGSEmailMessage ParentMessage { get; }
Summary

Gets the parent message if this message is an attachment.

Generated with ModularDoc