Show / Hide Table of Contents

Class WMEmailArgs

Arguments specifying an email.

Inheritance
object
WMEmailArgs
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 11/16/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE