email send from ipad without setup account
i want(i mean client :)) to send an email from a particular account.
in my app there is an option of sending a mail. now i want to do as any 开发者_开发知识库one from any ipad sends email from using this app will sent by one particular account. How can i do so?
Thanks, Shyam
From this link
By looking at the class reference for MFMailComposeViewController in the documentation, I'd say you can't do anything about it. It's not very flexible unfortunately, same as sending SMS, and there you can't MMS with it, just SMS.
You can't specify a default email address. If you could, I suspect one could view this as a security risk for spam/unsolicited mail.
You can't using Apple's API, it will use the Mail app and whatever account is setup in there. You'll have to grab full sendmail client code and incorporate it into your app.
精彩评论