Skip to content

MFGS Email Message

MFGSEmailMessage Public interface

Description

Represents an email message

Diagram

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

Members

Properties

Public properties

TypeNameMethods
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
MFGSEmailMessageImportanceImportance
Gets or sets the message importance.
get, set
boolIsHtml
Gets if the message contains an html body.
get
stringMessageId
Gets the message identifier.
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

Methods

Public methods

ReturnsName
voidSend()
Sends the message.

Details

Summary

Represents an email message

Methods

Send

public void Send()
Summary

Sends the message.

Remarks

The SMTP Client settings, on the Email section of the MFGStream Configuration, must be properly configured otherwise attempting to send an email message will result in an error

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.

Generated with ModularDoc