Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @IBOutlet weak var body: UITextView!
- @IBOutlet weak var MessageBody: UITextView!
- @IBAction func SendEmail(sender: AnyObject) {
- let picker = MFMailComposeViewController()
- picker.mailComposeDelegate = self
- picker.setToRecipients(["reobet@gmail.com"])
- picker.setSubject("Hello it's me.")
- picker.setMessageBody(body.text, isHTML: true)
- presentViewController(picker, animated: false, completion: nil)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement