MailService Methods |
The MailService type exposes the following members.
Name | Description | |
---|---|---|
Clone |
Returns a copy of this object
(Inherited from ServiceBase.) | |
ConstructMessage(String, String, String, String, String, String, Boolean, Attachment, SendEmailFlags) |
Prepare a message for sending. This is to allow email senders using the safer Send() methods to first get the
message in a format suitable for events on a mapper.
| |
ConstructMessage(String, String, String, String, String, String, Boolean, Attachment, SendEmailFlags, String) |
Constructs a MailMessage object using the specified destination parameters
including optional attachments and Template.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsValidMailConfig |
Returns true if the email configuration is correct for the current user
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnWebhook |
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.) | |
Send(MailMessage) |
Sends an e-mail message using arguments supplied in the properties of the MailMessageMailMessage class.
| |
Send(Message) |
Sends an e-mail message using arguments supplied in the properties of the MailMessageMailMessage class.
| |
Send(MailMessage, SendEmailFlags) |
Sends an e-mail message using arguments supplied in the properties of the MailMessageMailMessage class.
| |
Send(MailMessage, SendEmailFlags, String) |
Sends an e-mail message using arguments supplied in the properties of the MailMessageMailMessage class.
| |
Send(String, String, String, String) |
Sends a text (not HTML) e-mail message using the specified basic parameters (from, to, subject, messageText).
| |
Send(String, String, String, String, Boolean) |
Sends a text or HTML e-mail message using the specified basic parameters (from, to, subject, messageText).
| |
Send(String, String, String, String, Boolean, String) |
Sends a text or HTML e-mail message using the specified basic parameters (from, to, subject, messageText)
and using a Template for the email composition.
| |
Send(String, String, String, String, String, String, Boolean) |
Sends a text or HTML e-mail message using the specified basic parameters (from, to, subject, messageText),
with CC and BCC addresses, and using a Template for the email composition.
| |
Send(String, String, String, String, String, String, Boolean, Attachment) |
Sends a text or HTML e-mail message using the specified basic parameters (from, to, subject, messageText),
with CC and BCC addresses, and with attachments.
| |
Send(String, String, String, String, String, String, Boolean, Attachment, SendEmailFlags) |
Sends a text or HTML e-mail message using the specified basic parameters (from, to, subject, messageText),
with CC and BCC addresses, with attachments, and with SendEmailFlags options.
| |
Send(String, String, String, String, String, String, Boolean, Attachment, SendEmailFlags, String) |
Sends a text or HTML e-mail message using the specified basic parameters (from, to, subject, messageText),
with CC and BCC addresses, with attachments, with SendEmailFlags options, and using a Template for the email composition.
| |
ServiceLoaded |
Called by the ServiceInfos collection after the service is created
(Inherited from ServiceBase.) | |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
EqualValue |
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.) |