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
4
votes
3 answers

Dismiss mailComposeController

I am trying to dismiss the mail from my app after it's done if user sends or cancels. But for some reasone this never dismisses. I tried almost everything. I have also logged this so I will see if it went to dissmiss method. And the problem is there…
PokiTheKing
  • 69
  • 1
  • 5
4
votes
2 answers

Send email without user interaction in iOS App

I know you can send an email out of your app by presenting the user with a MFMailComposeViewController, but can you also send an email without the user having to push any send buttons?
4
votes
0 answers

Mail Composer broken in iOS 8.1

Hy guys, i running for my own tale for 4 hours now and i just realised that maybe i'm not crazy or stupid and that mail composer doesn't work in iOS8.1 So this is my code, nothing fancy: MFMailComposeViewController *mail =…
donio20
  • 75
  • 6
4
votes
3 answers

MFMailComposeViewController canSendMail returns YES but not sending mail in iOS

The following is my code to send an attachment in a mail. This works fine. I am able to send mails but I don't always receive the mails. MFMailComposeViewController *picker = [[MFMailComposeViewController alloc] init]; picker.mailComposeDelegate =…
Nik
  • 2,913
  • 7
  • 40
  • 66
4
votes
1 answer

MFMailComposer - Attachment size

In my iphone application, in MFMailComposer, I m adding an attachment. When I click send it is asking to select the size - Small, Medium, Large. I dont want that. I always want to set the attachment size to Medium. Can I control that??
Pras
  • 243
  • 1
  • 13
3
votes
1 answer

NSString new line doesn't work in mail?

I have two UITextViews that I want to be displayed when the user sends mail. The problem is that I want the text from the second textview to be displayed in a new line in the mail. I've tried with NSLog and it works just fine there, is there a…
ftwhere
  • 103
  • 1
  • 1
  • 10
3
votes
2 answers

Sending emails using external apps other than Apple Mail app

Is there any way to send an email and have it handled by all apps on the device which can do so? Such as GMail, Yahoo, Outlook, or does it requiring using each ones own library to implement such a feature? Is there some sort of generic URL or…
xceph
  • 1,036
  • 2
  • 13
  • 28
3
votes
0 answers

MFMailComposeViewController Large Pdfs attachments get stuck

So I am using MFMailComposeViewController to attach pdf files to an email and send it out using the default iOS mail app set up with an exchange account. If I send a file with size 4863K it works perfectly. Everything goes off as expected. If I…
Jason Bray
  • 502
  • 1
  • 4
  • 15
3
votes
1 answer

MFMailComposeViewController shows up with blank fields

I have an interesting problem. My mail compose view controller shows up with just subject but no body or recipients. In the code I do set all those fields, but somehow only subject shows up. Now this does happen in a callback block, but I am not…
mikebz
  • 3,277
  • 8
  • 37
  • 50
3
votes
0 answers

MessageComposer not displaying the body of the message in iOS8.0 simulator

This was, and is still working fine in iOS 7.1 (simulator and device). However after recently upgrading my Xcode to version 6, I tested the e-mail composition functionality and it no longer works. The body of the message does not show up. Here is…
3
votes
2 answers

Trouble sending email in iOS 7 using MFMailComposeViewController

I have a very simple app to test sending email, but the email never arrives. I have included the MessageUI framework in the app, and implemented the MFMailComposeViewControllerDelegate as well. The two methods in the app are as follows: -…
Scooter
  • 4,068
  • 4
  • 32
  • 47
3
votes
4 answers

MFMailComposeViewController Delegate Method Doesn't Get Called

I have a some kind of action sheet UIView which calls MFMailComposeViewController after tapping a button in it, the MFMailComposeViewController gets called and presented successfully, but it doesn't dismiss when the I tap Cancel and sometimes…
Abdelrahman Eid
  • 881
  • 2
  • 13
  • 28
3
votes
1 answer

dismissModalViewControllerAnimated produces black background

My app is to create csv file and send it through mail. But when I discard mail, I'm getting black screen. The previous view is not appearing and is being covered by the black screen. I viewed various questions and answers in stack overflow. But…
3
votes
1 answer

No need to save draft in MFMailComposeViewController

After clicking the cancel button of MFMailComposeViewController action sheet of save draft or not is generated. I dont want this action sheet how can i achieve that? thanks in advance.
KDeogharkar
  • 10,939
  • 7
  • 51
  • 95
2
votes
1 answer

Unrecognized selector sent to instance error from Utility App navigation controller view

I have a utility app. I've implemented this code on the flipside, which calls a Feedback view to send an email, like this tutorial. This works, but then when I click on the Send Feedback UIButton, my app immediately crashes with *** Terminating app…
Jazzmine
  • 1,837
  • 8
  • 36
  • 54
1
2
3
11 12