Can I use the MessageUI framework way of sending mail without popping up the mail modal view?
-
07-01-2021 - |
Question
For my purposes, all of the information that I need in my email, can be added without the mail modal view that lets the user hit the send button. So I'm wondering if there is anyway to leverage the same convenient mail api, but skip the modal view?
Just set all of the email information and send off the email without any user intervention?
Thanks
Solution
No, that's not what MessageUI is for. Otherwise it wouldn't be called MessageUI!
One alternative is to find a simple SMTP library to send email, such as this one.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow