title: Unrecognized selector error when I tap on my Email button
body: <pre><code>class ContactViewController: UIViewController, MFMailComposeViewControllerDelegate {
  
  override func viewDidLoad() {
      super.viewDidLoad()
  }
  
  @IBAction func emailSenden(_ sender: Any) {
  
      if !MFMailComposeViewController.canSendMail() {
          print("Mail services are not available")
          return
      } else {
              let mail = MFMailComposeViewController()
              mail.mailComposeDelegate = self
              mail.setToRecipients(["someone@example.com"])
              mail.setSubject("Message to you")
              mail.setMessageBody("Hallo,\n", isHTML: false)
  
              present(mail, animated: true, completion: nil)
  
              mail.dismiss(animated: true, completion: nil)
              }
  
      }
  }
  </code></pre>
  
  <p>This is my code. The problem is that every time I want to run this in my application I get this error:
  *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[My_App.ContactViewController email:]: unrecognized selector sent to instance 0x100b22430'</p>
  
  <p>Can you guys please help me?</p>