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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:30:54+00:00 2026-05-26T03:30:54+00:00

Possible Duplicate: retrieve email using PHP and pop3 – what is your technique? I

  • 0

Possible Duplicate:
retrieve email using PHP and pop3 – what is your technique?

I was wondering if it is possible to check the email of an account through php. My hosting provider gives me the server address and I know the account information, how can PHP retrieve the emails and display them. All I need is the most basic form. Also I believe that it is a pop3 if that matters.

Thank you so much.

  • 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-26T03:30:55+00:00Added an answer on May 26, 2026 at 3:30 am

    I use PHP imap with imap_open. You will find the doc here

    Simple usage:

    $stream = imap_open ("{localhost:110/pop3}INBOX", "user_id", "password");
    $mbox = imap_check($stream);
    $msg_amount = $mbox->Nmsgs;
    

    It is easy to use and works good but it will getting slow if you try to fetch 5000+ mails.
    Alternative you can use fsockopen.

    Edit:
    To install:

    To get these functions to work, you have to compile PHP with
    –with-imap[=DIR] , where DIR is the c-client install prefix. From our
    example above, you would use –with-imap=/usr/local/imap-2000b . This
    location depends on where you created this directory according to the
    description above. Windows users may include the php_imap.dll DLL in
    php.ini. IMAP is not supported on systems earlier than Windows 2000.
    This is because it uses encryption functions in order to enable SSL
    connections to the mail servers.

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

Sidebar

Related Questions

Possible Duplicate: Post data and retrieve the response using PHP Curl? I want to
Possible Duplicate: How do you send email from a Java app using Gmail? How
Possible Duplicate: Retrieve Windows Experience Rating Using .NET, is there a way to programmatically
Possible Duplicate: Fastest way to retrieve a <title> in PHP Suppose there is a
Possible Duplicate: What is the reg expression for this using javascript How to retrieve
Possible Duplicate: File creation time In PHP, how to retrieve the files contained into
Possible Duplicate: How to Capitalize names using C# How can i retrieve values from
Possible Duplicate: What format is this? How do i retrieve this one. I'm not
Possible Duplicate: What are the best PHP input sanitizing functions? Let's say I have
Possible Duplicate: MySQL query using an array How to use an array of values

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.