E-Mail

Before you begin

Code Snippets

The code  snippet below demonstrates E-mail posting example:

using SA.iOS.Social;
...

ISN_Mail.Send("Mail Subject", "Mail Body", "mail@gmail.com", screenshot);

We can also find out posting result

using SA.iOS.Social;
...

ISN_Mail.Send("Mail Subject", "Mail Body", "mail@gmail.com", screenshot, HandleOnMailPostResult);

void HandleOnMailPostResult(SA_Result result) {
    if(result.IsSucceeded) {
        Debug.Log("Mail Sent");
    } else {
        Debug.Log("Mail Failed");
    }
}

Note: You can also use HTML format for your e-mail. See the example below:

using SA.IOSNative.Social;
...
ISN_Mail.Send("Mail Subject", "Mail Body  <strong> text html </strong> ", "mail@gmail.com", screenshot);