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 624677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:13:35+00:00 2026-05-13T19:13:35+00:00

I am new to iphone app development, i have created my own app, i

  • 0

I am new to iphone app development, i have created my own app, i want to know whether we can setup the email address for our own app or we have to use only the email that was setup in the iphone. If we can please give me an idea of how to do it.

Thanks in Advance
Akhil

  • 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-13T19:13:35+00:00Added an answer on May 13, 2026 at 7:13 pm

    Mails sent from within app will only use the default mail account in Settings.

    EDIT:
    Here is a sample sendEmail() method:

    -(IBAction) sendEmail{
        if(![MFMailComposeViewController canSendMail]){
            //show info msg to user
            return;
        }
        MFMailComposeViewController *controller = [[MFMailComposeViewController alloc] init];
        controller.mailComposeDelegate = self;
        [controller setSubject:@"Hello"];
        [controller setMessageBody:@"How are you?" isHTML:NO];
        [controller addAttachmentData:UIImageJPEGRepresentation(myImage,0.8) mimeType:@"image/jpeg" fileName:@"fileName.jpg"];
        [self presentModalViewController:controller animated:YES];
        [controller release];
    }
    

    You will need the addAttachmentData method for attachments.

    You will also need to implement the didFinishWithResult method to discard the MFMail controller

    -(void) mailComposeController:(MFMailComposeViewController *)controller didFinishWithResult:(MFMailComposeResult) result error:(NSError *) error{
        [self becomeFirstResponder];
        [self dismissModalViewControllerAnimated:YES];
    }
    

    Make sure your the class where you write these methos implements the < MFMailComposeViewControllerDelegate > protocol

    Hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

4 java developers are new to iPod Touch/iPhone app development. They have an idea
I m new to iphone app development and i need some help. I have
I'm new to iPhone development and now working on my first app. I have
New to iPhone app development, I have a problem compiling (or Build and Run)
I am new in iPhone app development. I have to implement the OCR in
I am new to iphone development and want to know that how to publish
Looking at adding some data graphing to a new iPhone app in development (ala
I'm implementing a new iPhone app and am relatively new to Cocoa development overall.
I'm pretty new to iPhone development but I'm close to releasing my first app
I am new on iPhone development. I am making an app, using sqlite3 for

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.