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
1
vote
2 answers

Titanium application crashes when mail composer is displayed after selecting the email property in contact details window

I'm working on an Titanium application which displays the contacts in iPhone. When user selects the email property of the user, I'm displaying the email composer window. But my application is crashing and console displays: ** Terminating app due to…
Midhun MP
  • 103,496
  • 31
  • 153
  • 200
1
vote
1 answer

Undeclared identifier 'mailComposeController'

Here is my .m code: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { UITableViewCell *emailCell = [tableView cellForRowAtIndexPath:indexPath]; if ([emailCell.textLabel.text…
1789040
  • 569
  • 2
  • 6
  • 17
1
vote
1 answer

How to get the to, from, cc and bcc fields from mail composer in a callback for iPhone?

Does anyone know if its possible and how to get the TO, FROM, CC, and BCC fields from a mail composer in a callback for the iPhone?
1
vote
1 answer

IOS 6 Xcode 4.5 MFMailComposer Crash

I have updated XCode to 4.5 and now the Email Function crashes, if I press the button to send an email. What I am doing wrong? I have implemented the MessageUI.framework in my header file #import #import…
user1355961
  • 51
  • 1
  • 8
1
vote
1 answer

Xcode in app email adding a From text field

Ok, so I have successfully made my first in-app Email app using MFMAilComposer. I have the toRecipients textfield added, as well as subject and body etc. So I understand that the email will not send if I use the simulator and will send with an…
doc92606
  • 691
  • 2
  • 11
  • 32
1
vote
1 answer

change how prefilled email address shows (XCode)

In my app i am pre-filling the email address when the user wants to email someone. i do this like this: NSArray *toRecipients = [NSArray arrayWithObject:@"sales@microsmith.com"]; NSString *subjectStr = [[NSString alloc] initWithFormat:@"test…
1
vote
2 answers

Create .Zip file of Images

I'm wondering how I can create a .zip file with images in it. Is there any way to do this?
ManOx
  • 1,935
  • 5
  • 23
  • 37
1
vote
1 answer

device doesn't support the MFMail composer sheet

I have an app where I want to send mail.I have a button where it directs to the MailComposer sheet,It works pretty well in my simulator but can't send the mail so I need to use the device my problem was every time I clicked the button to direct it's…
Rh Jov
  • 115
  • 1
  • 11
0
votes
1 answer

MFMailComposeViewController change to recipients

Hi I would like to enable the user to send e-mail to different e-mail address it depends on the bout ton selected in the table view - All from same view. My problem is changing the e-mail address of the recipient each time i tried a few things like…
PokiTheKing
  • 69
  • 1
  • 5
0
votes
1 answer

How can i format the HTML contents of mail in iphone ?

I am using MFMailComposer for mailing.I just convert the contents of URL in a string and use that string to send mail . But the problem is that HTML file contains button link image and when i mail it gives two blank icon with the HTML page.How…
Purva
  • 1,291
  • 2
  • 15
  • 30
0
votes
1 answer

MFMailCompose Custom buttons

UIBarButtonItem *button = [[UIBarButtonItem alloc] initWithCustomView:[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"cancel.png"]]]; button.target = picker.navigationBar.topItem.leftBarButtonItem ; button.action =…
0
votes
1 answer

Mailcomposer with custom Navigationbar

i am facing a new problem. I have custom navigation controller in my application. I have to add an image to navigationbar and i used this code in my AppDelegate- @implementation UINavigationBar (CustomImage) - (void)drawRect:(CGRect)rect { UIImage…
iphonedev23
  • 991
  • 2
  • 12
  • 24
0
votes
0 answers

How to resolve the potential leak for a subclass of MFMailComposeViewControllerDelegate

Scenario, For the sake of DRY, I created a view controller(e.g. GeneralDelegateForEmailAndSMS) implementing the methods of protocol MFMailComposeViewControllerDelegate. // GeneralDelegateForEmailAndSMS.h #import @interface…
user746403
  • 73
  • 1
  • 5
0
votes
1 answer

NSUrl with hyperlink inside a NSString?

So pretty much what I am doing is attempting to add a NSUrl inside of a NSString to pass to a MFMailComposeController. I want the URL in the message field to have a hyperlink but if I just put a basic link inside a NSString, it won't hyperlink for…
SimplyKiwi
  • 12,376
  • 22
  • 105
  • 191
0
votes
2 answers

ios4.3.4: MFMailComposer doesn't send an email, but return MFMailComposeResultSent status

I am using MFMailComposer. I send email to gmail, MFMailComposer returns MFMailComposeResultSent status. But I don't received any email. I tested on iphone4 with 4.3.4. What I do wrong? MFMailComposeViewController *mailPicker =…
Voloda2
  • 12,359
  • 18
  • 80
  • 130