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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T08:48:58+00:00 2026-05-18T08:48:58+00:00

I am using CFNetwork to connect to my POP3 account on Yahoo . I’ve

  • 0

I am using CFNetwork to connect to my POP3 account on Yahoo.
I’ve written the code of connection and authentication which is running perfectly.
I have used CFStream to read the POP3 server response.

My question is, how can I access the specific folder like Inbox, sent folder or delete folder of my yahoo account using POP3 command.
I have to read the mails from the folder and show the list in the specific folder at local IPhone.

kindly help me to solve the issue.

Thanks in advance.

  • 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-18T08:48:58+00:00Added an answer on May 18, 2026 at 8:48 am

    The POP3 protocol is documented in RFC 1939 – Post Office Protocol. It does not support the concept of folders.

    In fact they mention in section 8:

    Of course the other capabilities of IMAP, such as polling an existing connection for newly arrived
    messages and supporting multiple folders on the server, are not
    present in POP3.

    IMAP on the other hand does, and is likely what you are looking for. It is well documented in http://www.faqs.org/rfcs/rfc3501.html The command in IMAP to choose a folder is called ‘SELECT.’ The protocol looks like this:

               C: A142 SELECT INBOX
               S: * 172 EXISTS
               S: * 1 RECENT
               S: * OK [UNSEEN 12] Message 12 is first unseen
               S: * OK [UIDVALIDITY 3857529045] UIDs valid
               S: * OK [UIDNEXT 4392] Predicted next UID
               S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
               S: * OK [PERMANENTFLAGS (\Deleted \Seen \*)] Limited
               S: A142 OK [READ-WRITE] SELECT completed
    

    If you are doing this as an intelectual exercise, you are going to need to rewrite your networking code to implement IMAP instead of POP. However if you are doing this as part of a commericial endevaur, I would recommend against writing an email client from scratch — it is a solved problem with lots of freely avaiable source out there. You might want to look at the UW-IMAP toolkit, a free C Library or VMIME A C++ Library. Both should be able to work on the iOS platform without too much hassle.

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

Sidebar

Related Questions

I am using CFNetwork to connect to a https webservice , whose server is
Using MVC2 I have an AJAX form which is posting to a bound model.
Using MVVM. I have a DataTemplate which I am using to display an expander
I'm using example code from the answer on this Stack Overflow question (http://stackoverflow.com/questions/3240617/cfnetwork-and-bonjour-integration-for-iphone-to-mac-integration) which
I would like to download a file without using NSURL/NSURLDownload/CFNetwork. I would like to
I am using the following code.. But I got the error like THREAD Started
Hey I am using a NSURL Connection to receive data. [NSURLConnection sendSynchronousRequest: //create request
Using Java,I have to fetch multiple sets of values from an XML file to
using chrome and ff so far have made a nasty glitch when using scrollTo
i am newbie at c++ and i have problem initializing my container occ_stat_t using

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.