Search code examples
iphonesmtpsmtpclientmfmailcomposeviewcontroller

is it possible to send email with custom view instead of presentModalViewController


i need to send email in my application.

i know that this can be possible using MFMailComposeViewController.

But it popup presentModalViewController,I need to custom reception box,composer,subject like this.

simply by clicking send button i need to send email.

if it is possible can ant one please help me.

Thank u in advance.


Solution

  • For security and privacy reasons, Apple does not allow applications to send automatically email, and requires the user to review it and explicitly click on the Send button in order to do it.

    If a regular app could present its own view to get the email data and send it, what's to stop a malicious app from sending spam emails on the user behalf to all his contacts?