Beispiel #1
0
 public void ShowSendMailDialog(UM_EmailDialogBuilder builder, Action <SA_Result> callback)
 {
     UM_EditorAPIEmulator.WaitForNetwork(() =>
     {
         //   UM_DialogsUtility.ShowMessage("Send Mail Dialog", "Editor API Sharing Emulation.");
         callback.Invoke(new SA_Result());
     });
 }
 public void ShowSendMailDialog(UM_EmailDialogBuilder builder, Action <SA_Result> callback)
 {
     ISN_Mail.Send(builder.Subject,
                   builder.TextWithUrl,
                   builder.Recipients.ToArray(),
                   builder.Images.ToArray(),
                   callback
                   );
 }
        public void ShowSendMailDialog(UM_EmailDialogBuilder builder, Action <SA_Result> callback)
        {
            var composer = new AN_EmailComposer();

            composer.SetText(builder.TextWithUrl);
            composer.SetSubject(builder.Subject);

            foreach (var image in builder.Images)
            {
                composer.AddImage(image);
            }

            foreach (var recipient in builder.Recipients)
            {
                composer.AddRecipient(recipient);
            }
            ShareWithComposer(composer, callback);
        }