For my app, I need to know if there's a mail account has soon as the app is launched. Is there a way to do that ?
I don't really know what canSendMail does but it does not seems to verify that.
Thanks
Last Updated: May 10, 2022 When adding a mailbox to Outlook for Mac, you might encounter the error “Account already exists”. This error occurs because you've tried to add a shared mailbox through the main “Add email account” window. Close the error window and return to the main Accounts window.
Delete an additional email addressSign in to appleid.apple.com. Select Personal Information, then select Reachable At. To delete one of your additional email addresses, click the Remove button next to it.
Apple Mail It comes built into every iPhone, and it supports just about any account type you'd like. It's easy to start new messages.
canSendMail is actually the right and only way to verify what you want.
if ([MFMailComposeViewController canSendMail]) {
// device is configured to send mail
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With