ios - Sending an email without user interaction -



ios - Sending an email without user interaction -

i working on app automatically sends me email message in circumstances unable automatise sending of email, message composer picker comes , required physically press on send button...

is possible automatise "pressure" on send button or apple prevent avoid spamming maybe?

what options "completion"?

if not possible, possible send email without using message picker?

to bring message interface i'm using:

[self presentviewcontroller:picker animated:yes completion:nil]; - (void) mailcomposecontroller:(mfmailcomposeviewcontroller *)controller didfinishwithresult:(mfmailcomposeresult)result error:(nserror *)error { switch (result) { case mfmailcomposeresultcancelled: nslog(@"mail cancelled"); break; case mfmailcomposeresultsaved: nslog(@"mail saved"); break; case mfmailcomposeresultsent: nslog(@"mail sent"); break; case mfmailcomposeresultfailed: nslog(@"mail sent failure: %@", [error localizeddescription]); break; default: break; } // close mail service interface [self dismissviewcontrolleranimated:yes completion:null]; }

it not possible send email user's mail service business relationship without mfmailcomposeviewcontroller , user's explicit interaction.

ios objective-c iphone

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -