E-mail

You can allow users to sed pre-defined e-mails with device mail app using the AN_EmailComposer. See the example below. For this example, we will be taking the app screen screenshots using SA_ScreenUtil.TakeScreenshot method. However, you can use any image or images you like. The only limitation, this image has to be readable.

using SA.Android.Social;
...

 SA_ScreenUtil.TakeScreenshot((screenshot) => {
    var composer = new AN_EmailComposer();
   
    composer.SetText("Hello world");
    composer.SetSubject("Testing the emails sharing example");

    composer.AddRecipient("ceo@stansassets.com");
    composer.AddRecipient("support@stansassets.com");

    composer.AddImage(screenshot);
    composer.AddImage(screenshot);

    composer.Share(() => {
        Debug.Log("Sharing flow is finished, User has retured to the app");
    });
});