Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 3.4 KB

interface_wellfired_command_unity_runtime_email_iemailsender.rst

File metadata and controls

56 lines (38 loc) · 3.4 KB

IEmailSender

Namespace: WellFired.Command.Unity.Runtime<namespacewellfired_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<interfacewellfired_command_unity_runtime_email_iemailsender_1a76a4a20a1bc547737f34a47574caa25b> ( )
void Email<interfacewellfired_command_unity_runtime_email_iemailsender_1afd3c5fbff8bb2816b8c33abef29db7c6> ( string attachmentPath, string mimeType, string attachmentFilename, string recipientAddress, string subject, string body )

Breakdown

  • bool CanSendEmail ( )

    Description

    If this instance of an Email<namespacewellfired_command_unity_runtime_email> Sender can send an email, you should return true from here, if you do this, your Development Console<namespacewellfired_command_unity_runtime_console> will have an Email<namespacewellfired_command_unity_runtime_email> button in certain bits of UI<namespacewellfired_command_unity_runtime_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.