Launch Mail Application in IPhone


/ Published in: Objective C
Save to your folder(s)



Copy this code and paste it in your HTML
  1. -(void) sendEmail {
  2. NSURL* mailURL = [NSURL URLWithString: @"mailto:[email protected][email protected]&subject=My%20Subject%20Line&body=Hello%20Email!"];
  3. [[UIApplication sharedApplication] openURL: mailURL];
  4.  
  5. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.