EmailSender¶
Namespace: WellFired.Command.Unity.Runtime
Implements: WellFired.Command.Unity.Runtime.Email.IEmailSender
Description¶
Public Methods¶
bool | CanSendEmail ( ) |
void | Email ( string attachmentPath, string mimeType, string attachmentFilename, string recipientAddress, string subject, string body ) |
Public Static Methods¶
string | Base64Encode ( string plainText ) |
Breakdown¶
bool CanSendEmail ( )
Description
If this instance of an Email Sender can send an email, you should return true from here, if you do this, your Development Console will have an Email button in certain bits of UI.
void Email ( string attachmentPath, string mimeType, string attachmentFilename, string recipientAddress, string subject, string body )
Description
Implement this method if your custom email sender needs to send email. You can implement this in any way you see fit.
Parameters
attachmentPath File path to attachment. mimeType MIME type. attachmentFilename Attachment filename. recipientAddress Recipient address. subject Subject. body Body.
- string Base64Encode ( string plainText )