Click or drag to resize

EmailManager Class

Service implementation of the IEmailManager
Inheritance Hierarchy

Namespace:  NetQuarry.Services
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public class EmailManager : ServiceBase, 
	IEmailManager

The EmailManager type exposes the following members.

Constructors
  NameDescription
Public methodEmailManager
Initializes a new instance of the EmailManager class
Top
Properties
  NameDescription
Public propertyApplication
Gets or Sets the IAppContext object for the service.
(Inherited from ServiceBase.)
Public propertyAttributes
Gets/Sets the service attributes.
(Inherited from ServiceBase.)
Public propertyCategory
Gets/Sets the service category.
(Inherited from ServiceBase.)
Public propertyComponentID
Gets/Sets the service component ID.
(Inherited from ServiceBase.)
Public propertyEmailManagerAttributes
Returns the email manager attributes
Public propertyID
Gets/Sets the service ID.
(Inherited from ServiceBase.)
Public propertyLogDatasource
Returns the log datasource object
Public propertyName
Gets/Sets the service name.
(Inherited from ServiceBase.)
Public propertyPassword
Returns the Password (api_key value in SendGrid)
Public propertyProperties
Gets the service's configuration properties
(Inherited from ServiceBase.)
Public propertyType
Gets/Sets the service type.
(Inherited from ServiceBase.)
Public propertyUser
Returns the API user (api_user value in SendGrid)
Top
Methods
  NameDescription
Public methodAddToUnsubscribeList
Adds a valid email address to the sendgrid unsubscribe list
Public methodClone
Returns a copy of this object
(Inherited from ServiceBase.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodForwardMessage
Forward an email previously stored in the xot_email_message table as an attachment to a list of email addresses.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUnsubscribes
Returns the unsubscribes as a datatable
Public methodLoadMessage
Loads a MailMessage from the xot_email_message table.
Public methodLogMessage
Logs a notification to the xot_email_message table.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnWebhook
Handles an invocation of a "webhook" event for the service. You should implement this event if you want your service to handle webhooks through the standard platform webhook wiring. The raw wiring for the webhook would look like handler.ashx?req=webhook&service=sss&appkey=aaa&token=ttt where sss is the name of the service, aaa is the application key, and ttt is the authentication token. When wired up in the manner, the platform will instantiate an IAppContext object, authenticate the request based on the provided token, obtain an instance of the service from the Services collection, and invoke this method on the service. If the webhook is wired up in this manner, you must override the base implementation of this method or an exception will be thrown.
(Inherited from ServiceBase.)
Public methodPrepareMessage
Called before the message is sent to prepare the message for sending
Public methodRemoveFromList
Removes from a managed list in the email service.
Public methodRemoveFromUnsubscribeList
Remove from all bounce lists
Public methodServiceLoaded
Called when the service is loaded.
(Overrides ServiceBaseServiceLoaded.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodUpdateStatus
Updates the status of the message (xot_email_message.email_status_id).
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also