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

ICS Event with Status:Cancelled is Being Re-Added to the Mac Outlook Calendar?

I sent this .ics event with an email: BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN PRODID:adamgibbons/ics METHOD:REQUEST X-PUBLISHED-TTL:PT1H BEGIN:VEVENT UID:RUo-Akvn-dNj7pve87fNv SUMMARY:Appointment with your Nurse at…
VikR
  • 4,818
  • 8
  • 51
  • 96
0
votes
1 answer

iPhone MFMailComposeViewController cuts off text

I'm using MFMailComposeViewController inside my application and I've noticed that part of the message has been cut off. Right now it's only trimming the "Sent from my iPhone" text, but should users remove this, I don't want any of the message…
MechEngineer
  • 1,399
  • 3
  • 16
  • 27
0
votes
1 answer

CALayer invalid geometry , Mfmailcomposer

Am trying to open MFMailComposer class, but it crashes on init method giving CALayer position contains NaN: [nan 24.5] Am trying to present MFmailcomposer on a ViewController VSMailPicker = [[MFMailComposeViewController alloc] init]; …
devonsmith
  • 123
  • 2
  • 11
0
votes
1 answer

How to remove default body text of mail composer sheet in iPhone?

How to remove text saying "Sent from my iPhone" in mail composer sheet. I have tried by sending empty body but no luck. Please give some clue.
dks1725
  • 1,631
  • 1
  • 20
  • 29
0
votes
1 answer

Can't dismiss mail composer using dismiss(animated: true, completion: nil) and dismissViewControllerAnimated doesn't come up as an option

I've imported MessageUI and created an extension to include MFMailComposeViewControllerDelegate which includes dismiss(animated: true, completion: nil) and this doesn't close the VC that pops up to send the message however this is the only option…
0
votes
2 answers

read To Recipients in MFMailComposer

I want to save, after user press send mail button, the mail addresses an user wrote. But even if it could be set the to recipient I don't know how to read from it (there aren't any properties, or better any read enabled one, related to toRecipient).…
esses
  • 1
0
votes
3 answers

Mail attachments create problem

I want to create a csv file with ny string and attaching that. I were try this by using these lines [foodString writeToFile:@"Meal.csv" atomically:YES encoding:NSUTF8StringEncoding error:NULL]; [mailView addAttachmentData:NULL…
Ishu
  • 12,797
  • 5
  • 35
  • 51
0
votes
1 answer

Find string in messageBody of MFMailComposeViewController

I've implemented a standard way for the user to provide feedback. Is there a way to search through the mail's message (or subject) when the user taps on send or cancel in the mail view controller. The app should perform an action if the mail…
nontomatic
  • 2,003
  • 2
  • 24
  • 38
0
votes
1 answer

Why doesn't my Mail Composer view display properly?

If I present the mail composer modally, it works fine (here, MFMailComposeViewController* _mailer); [self presentModalViewController:_mailer animated:YES]; However, if I add the view to the current view, [self.view addSubview: _mailer.view]; the…
0
votes
2 answers

image into mail body in iphone

how to insert uiimage into body of mail composer window.. i have with this code: NSMutableString *emailBody = [[[NSMutableString allocinitWithString:@""] retain]; [emailBody appendString:@" type text here"]; UIImage *emailImage = [UIImage…
Ketan Shinde
  • 1,847
  • 4
  • 18
  • 38
0
votes
1 answer

Swift MFMailComposer Optional Tag

I want to ask a question about MFMailComposer usage on Swift. I am creating an email template below. It works. But, it puts "optional" tags before every label data. Can anyone help me? How can I trim that tag? Thanks! I am sharing my screenshot…
sashatheitguy
  • 77
  • 1
  • 8
0
votes
2 answers

MFMailComposeViewController back and send button not working

I tried using the MFMailComposeViewController to send an email in my app. let email = "..." let mailComposer = MFMailComposeViewController() mailComposer.mailComposeDelegate = self …
0
votes
0 answers

Add a photo to MailComposer Swift

I created an app that, with a button allows you to choose between taking a photo with the camera or picking it from the library (UIImagePickerController). When you choose the photo, then it is assigned to an ImageView. With another button I want the…
0
votes
1 answer

Dismissing modal view controller after sending email with MFMailComposeViewController

I have a view controller presented modally to let people sign up for a newsletter that then calls MFMailComposer. Once the mail is sent, I want to be able to dismiss the modal view controller after I click Send on the email window. Is this…
0
votes
2 answers

MFMailComposeViewController in UIActivityViewController has default blue tint colour

I am presenting activity controller as below: let vc = UIActivityViewController(activityItems: [SettingsProvider.shareUrl], applicationActivities: nil) vc.modalTransitionStyle = .crossDissolve vc.modalPresentationStyle =…
cgeek
  • 558
  • 5
  • 18