Class WMEmailArgs
Arguments specifying an email.
Inherited Members
Namespace: Quantellia.WMServer.Messaging
Assembly: WMServer.dll
Syntax
public class WMEmailArgs
Properties
Body
The body of this email.
Declaration
public string Body { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
From
Optional parameter requiring Server to also be supplied. Indicates the identity of the email sender.
Declaration
public string? From { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Headers
The headers included in this email.
Declaration
public Dictionary<string, string> Headers { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> |
MailerID
Optional parameter to set the mailer by its identifier instead of searching for any applicable mailer.
Declaration
public string? MailerID { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Server
Optional parameter requiring From to also be supplied. Indicates the SMTP server sending the email.
Declaration
public string? Server { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Subject
The subject of this email.
Declaration
public string Subject { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
To
The address this email is for.
Declaration
public string To { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UserProvidedServer
Helper, if true, both From and Server is supplied and should override emailer properties in appsettings.json.
Declaration
[NotMapped]
public bool UserProvidedServer { get; }
Property Value
| Type | Description |
|---|---|
| bool |