Questions tagged [mfmailcomposer]

an iOS object allowing application users to send mail

This tag dates back to iOS 5. Prefer the object named MFMailComposeViewController and its tag

170 questions
2
votes
1 answer

How to push a MFMailComposeViewController? (iOS 5)

From a tableview I want to present a MFMailComposeViewController. I don't want to use the presentModalViewController:animated: method, but instead push the view controller, so it's consistent with the other animations from this table view. Because…
Marco
  • 330
  • 5
  • 13
2
votes
1 answer

MFMailComposer custom buttons

I know it is possible to change the navbar image on a MFMailComposer. Is it possible to customize the Cancel and Send buttons too? I want to use custom images for the backgrounds of the buttons so just changing the tint won't do. Thanks for your…
Iñigo Beitia
  • 6,303
  • 4
  • 40
  • 46
2
votes
0 answers

Possible to minimise single-page attachments in Mail?

I have an iOS app which uses the locally-created Mail.app account to send emails with, and I am attaching a few PDF documents. I have found that if the document is one-page long, when I call [myMailComposer addAttachmentData:data…
Luke
  • 11,426
  • 43
  • 60
  • 69
2
votes
2 answers

How to fetch email address from MFMailComposer's recipients address

I wants to fetch email address from the recipients address in MFMailComposer after the user enters the recipients address.
Prajnaranjan Das
  • 1,378
  • 1
  • 9
  • 26
2
votes
1 answer

Get email and time stamp from sent emails saved on a tableview

Im using MFMailComposeViewController to send emails, but after you sent an email I would like to show the email and time it was done on a tableview. How can I do that? My table code is basic //This is empty, just to populate the empty table for…
Nyxx
  • 303
  • 3
  • 13
2
votes
0 answers

MFMailCompser is sending 'noname' attachment randomly

A client of mine is having an issue where he'll use our app to send an email with an auto generated PDF that's attached to the email and sometimes it will work and sometimes it will not. Things We've noticed: When sending from his gmail account, it…
johnslay
  • 681
  • 1
  • 6
  • 17
2
votes
1 answer

MFMailComposeViewController iOS9 bug (on iPad mini 4)

I think there's an issue with the MFMailComposeViewController in iOS9, at least on my new iPad mini 4. Even using the simplest test code I doesn't work. For example, using: if(![MFMailComposeViewController canSendMail]) { …
Bob de Graaf
  • 2,630
  • 1
  • 25
  • 43
2
votes
2 answers

MFMailComposeViewController Crash on device 8.2

Why is this crashing only on on a device with 8.2? on other versions works just fine and even on simulator with 8.2 works fine... var mailPicer = MFMailComposeViewController() mailPicer.mailComposeDelegate = self …
Waylli
  • 43
  • 1
  • 5
2
votes
1 answer

MFMailComposerViewController Object is not getting allocated in iPad but works fine in simulator

When ever I alloc/init MFMailComposerViewController it's not allocated, and the object is nil. The app crashed when presenting mailViewController. Here's my code: MFMailComposeViewController *picker = [[MFMailComposeViewController alloc]…
Ashish Thakkar
  • 944
  • 8
  • 27
2
votes
3 answers

MFMailComposeViewController not populating recipients in ios 5

I'm trying to send mail to list of email array that I receive from database, when I send the recipient list gets populated in iOS 7 but when I tried in iOS 5 the recipient list doesn't get populated. Any Idea why? This is my mail…
Francis F
  • 3,157
  • 3
  • 41
  • 79
2
votes
1 answer

Can I send email automatically from app

I am developing an app. Can I know How to send a email from app with out using email window. ie, When I pressed a button I want to send mail automatically. Without using the mail window.
Vineesh TP
  • 7,755
  • 12
  • 66
  • 130
2
votes
1 answer

How to attach a HTML page to my mail composer in iPhone sdk?

I displayed a html file in a UIWebView. I need to mail my current page as an attachment and attachment as a html file. My code, -(void)mailClick { NSLog(@"mail"); if ([MFMailComposeViewController canSendMail]) { …
Saranya
  • 1,481
  • 3
  • 14
  • 26
2
votes
3 answers

Missing keyboard in MFMailComposeViewController

I've got this code working well for months (on iOS 5.1), but I didn't check it for a long time and now (probably iOS 6.0 issue) I've noticed that my MFMailComposeViewController doesn't show the keyboard even when focusing textfields like message…
dreamzor
  • 5,795
  • 4
  • 41
  • 61
2
votes
2 answers

Sending an Email Behind the Scenes

I am currently trying to figure out how to send an email behind the scenes. Basically, I don't want an MFMailComposeViewController popping up making me press the send button. All the fields are pre-populated so there is no need to type anything out.…
doc92606
  • 691
  • 2
  • 11
  • 32
2
votes
0 answers

iOS6: MFMailComposeViewController sporadically produces array mutation error

I am sporadically seeing the following error when I launch an instance of MFMailComposeViewController on iOS 6 systems. Everything functions fine on iOS 5, it only happens on iOS 6: * Terminating app due to uncaught exception 'NSGenericException',…
1 2
3
11 12