Message Constructor (IAppContext, MailMessage, SendEmailFlags, String, String, MessageRelationships, String) |
Constructs a new instance of the object.
Namespace:
NetQuarry.Mail
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public Message(
IAppContext appCxt,
MailMessage message,
SendEmailFlags sendFlags,
string messageID,
string templateName,
MessageRelationships relationships,
string serviceName
)
Public Sub New (
appCxt As IAppContext,
message As MailMessage,
sendFlags As SendEmailFlags,
messageID As String,
templateName As String,
relationships As MessageRelationships,
serviceName As String
)
Parameters
- appCxt
- Type: NetQuarryIAppContext
The application context object. - message
- Type: System.Net.MailMailMessage
The MailMessage object that is being sent. - sendFlags
- Type: NetQuarry.ServicesSendEmailFlags
Flags to control sending of the message. - messageID
- Type: SystemString
The unique message identifier. (GUID) - templateName
- Type: SystemString
The name of the template used to send the message. - relationships
- Type: NetQuarry.MailMessageRelationships
A collection of MessageRelationship objects that describe how the email relationships should be logged to the database. - serviceName
- Type: SystemString
The name of the service that will send this email message
See Also