IEmailSender¶
Namespace: WellFired.Command.Unity.Runtime
Description¶
You can implement this interface if you would like to provide specific functionality for your debug console to send email logs.
Public Methods¶
bool | CanSendEmail ( ) |
void | Email ( string attachmentPath, string mimeType, string attachmentFilename, string recipientAddress, string subject, string body ) |
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.