Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 962787
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T01:33:54+00:00 2026-05-16T01:33:54+00:00

I want to send emails with attachments from my iphone application with custom UI.

  • 0

I want to send emails with attachments from my iphone application with custom UI. What can i use for this?

UPD: maybe it’s possible to use some smtp library for this task? What can you advice?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T01:33:55+00:00Added an answer on May 16, 2026 at 1:33 am

    you need to do the following
    first add a framework by right clicking on project.
    Add -> Existing Framework ->
    library/frameworks/MessageUI.framework

    then
    in ViewController.h file

    #import <MessageUI/MessageUI.h>
    
    @interface ViewController : UIViewController  <UITextFieldDelegate, MFMailComposeViewControllerDelegate>{
    //....yor variables
    }
    

    ViewController.m file

    - (void)viewDidLoad {
    
    [super viewDidLoad];
    
    self.title = @"Sample Email Application"; // title of navigation bar
    
    self.navigationItem.rightBarButtonItem = [[[UIBarButtonItem alloc]  initWithBarButtonSystemItem:UIBarButtonSystemItemCompose target:self action:@selector(composeMail:)] autorelease]; // for adding a compose button 
    //in navigation bar.
    //...your code 
    }
    
    
    -(void) composeMail: (id) sender{
    MFMailComposeViewController *picker = [[MFMailComposeViewController alloc]init];
    picker.mailComposeDelegate = self;
    
    [[picker navigationBar] setTintColor:[UIColor blackColor]];
    
    
    [picker setSubject:@"Sample Email Application"];
    [picker setMessageBody:[NSString stringWithFormat:@"Visit for more help %@. ",@"http://google.com"] isHTML:YES];
    
    [self presentModalViewController:picker animated:YES];
    [picker release];
    }
    
    
    
    - (void)mailComposeController:(MFMailComposeViewController*)controller didFinishWithResult:(MFMailComposeResult)result error:(NSError*)error 
    {
    [controller dismissModalViewControllerAnimated:YES];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created a google web application from which I want to send emails. I've
I want to use the pear mail extension to send SMTP authenticated emails. There
Hi I want to send text or XML from iphone to another desktop machine.
I want to create one application which send email with attachment(select file from SD
i am doing mail concepts. in this i want to send a dynamic attachments
I want to send an embedded email from my application. I have it sending
i used javamail api to send emails with attachments from java applications, and it
I want to send emails in a number of languages (en/es/fr/de/ru/pl). I notice that
I want to send emails with formatted sender such as Support team foo@bar.com. If
I have a cluster of 20 servers. I want them to send 200 emails

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.