canSendMail()
Returns a Boolean that indicates whether the current device is able to send email.
Declaration
class func canSendMail() -> BoolReturn Value
true if the device is configured for sending email or false if it is not.
Discussion
You should call this method before attempting to display the mail composition interface. If it returns false, you must not display the mail composition interface.