Skip to content
levching edited this page Apr 15, 2020 · 3 revisions

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);

About

Foundation

AV Foundation

App Tracking Transparency

Game Kit

Store Kit

UI Kit

Social

Replay Kit

Contacts

AVKit

Photos

App Delegate

User Notifications

MediaPlayer

Core Location

AdSupport

EventKit

CloudKit

Authentication Services

XCode

Knowledge Base

Clone this wiki locally