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
0 answers

MFMailComposeViewController customize send button

I need to be able to change both the background color and the title color for the UIBarButtonItem "Send" on the MFMailComposeViewController. Changing the customView property force it no longer to behave. Sample code: MFMailComposeViewController* vc…
1
vote
1 answer

Can we get the From email address that is set in MFMailComposeViewController?

I am able to get Recipient email address from the MFMailComposeViewController using http://jomnius.blogspot.com/2011/02/how-to-find-mfmailcomposeviewcontroller.html link. But I want From email Address. So is their any way to get From email…
DShah
  • 9,768
  • 11
  • 71
  • 127
1
vote
1 answer

Can't find vcard attachment with the mail

I am trying to send an email from my iphone, with a vcard as attachment. When I am sending the mail, the vcard is being attached with the mail. But the receiver of the mail can't find the vcard attachment. Help needed. This is the code I have…
Xavi Valero
  • 2,047
  • 7
  • 42
  • 80
1
vote
2 answers

MFMailComposer -- Attach Image with HTML ON

I am trying to send an email with an image attachment and HTML turned on. The problem is that when HTML is on, the image appears inline instead of as an attachment (I use gmail). If I set isHTML:NO then the image properly shows up as a downloadable…
pws5068
  • 2,224
  • 4
  • 35
  • 49
1
vote
1 answer

How to use iPhone MFMailComposer using phonegap?

How to use iPhone MFMailComposer using phonegap? I am using phonegap framework to develop my application. But i dont want to use "mailto", as while tapping on that it launches iphone default mail application. My requirement is to send mail same like…
Mrunal
  • 13,982
  • 6
  • 52
  • 96
1
vote
1 answer

Attachment in mail client for ipad

I am trying to build a mail client app. for ipad that allows you to attach files. Currently this feature is not supported by native mail.app I checked some app like good reader and pdf reader lite that allows you to send one file in your email. They…
1
vote
0 answers

MFMailComposeViewController send and cancel buttons are not working if the view has custom UINavigationBar

Hi, As in the above image, My viewcontroller class has a customnavigationbar, when I am trying to compose an email using MFMailComposeViewController, the navigationbar of MFMailComposeViewController view is getting covered by but my custom…
Dee
  • 1,887
  • 19
  • 47
1
vote
1 answer

How to automatically attach device information to new email with MFMailComposeViewController

If you use TestFlight to send Beta Feedback, it automatically attaches a file called device_information.txt and this includes some basic information about the device. I want to make a support button in my app, and I'm using…
1
vote
0 answers

MFMailComposeViewController navigation bar not show some time

I have a share functionality in my app.when I open the MFMailComposeViewController for send email.Then sometimes it hides the navigation bar.Because in my app I have used custom navigation bar.So I have to hide the navigation controller on all…
1
vote
1 answer

NSKeyedUnarchiver results in nil values after transfer via MFMailComposeController

I am sending a keyed archive as an attachment to an email using MFMailComposeController. My app that reads the email attachment gets the keyed archive but unarchiving it gives nil values. Details as follows: The sending view controller: -…
Nelson Capes
  • 411
  • 3
  • 12
1
vote
1 answer

iOS: MFMailComposeViewController not getting closed

I am using MFMailComposeViewController in my application to compose a feedback E-Mail. The MFMailComposeViewController gets displayed, but can't be closed. Method used to open the MFMailComposeViewController modal window: -(IBAction)…
1
vote
0 answers

Swift: Is it possible to save last recipient after sending e-mail?

In my application i use MFMailComposeViewController to send e-mail. I set subject and message body in my code, but let user choose the recipient. I want to save last recipient e-mail that user entered, so that next time when user tries to send…
1
vote
3 answers

MailComposer not dismissed

I tried to use MailComposer. Here is the code I used: func setupMailer() { if MFMailComposeViewController.canSendMail() { emailController.mailComposeDelegate = self emailController.setToRecipients([]) // set the email address …
user6539552
  • 1,331
  • 2
  • 19
  • 39
1
vote
1 answer

MFMailComposeViewControllerDelegate method not getting invoked after Swift 3.0 migration

My app has email compose feature and it was working perfectly on Swift 2.2. Recently I migrated code to Swift 3.0 and stuck with this issue. Sharing my code snippet below: import MessageUI class ViewController: UIViewController, …
RVJ
  • 99
  • 1
  • 6
1
vote
1 answer

Send email from iOS app with html body and image tag

I know this question has been asked before, but I haven't seen anything recent so am hoping for a fix. Currently I am sending an email with an html body that contains two image tags. Originally I was just doing something like
John
  • 1,808
  • 7
  • 28
  • 57