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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T07:04:27+00:00 2026-05-12T07:04:27+00:00

I would like to learn how to build a web-based email client in PHP

  • 0

I would like to learn how to build a web-based email client in PHP (similar to yahoo and gmail).

Does anyone know how I can get started with this?

I would like my system to be able to send and receive email.

  • 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-12T07:04:27+00:00Added an answer on May 12, 2026 at 7:04 am

    Most obvious answer would be "don’t": there are already lots of webmail software, some of which are PHP-based (if you depend on using PHP, because you already have a server based on a LAMP stack, for instance).

    To quote only a few names, all PHP-based, you could have a look at these ones:

    • SquirrelMail: a quite old-one, and not really sexy… But has been doing the job for years
    • Horde IMP: well-know too, and quite powerful
    • roundcube: maybe the most "sexy" and "web 2.0" of the list of those I tried
    • AtMail: I’ve never used this one, so I can’t say much more…

    I’ve used the three firsts of the list for quite some time ; roundcube was definitely the most "user-friendly", I’d say…

    (Googling a bit, you might find many more — but I think I spoke about the ones that are the most used)


    Now, if you have to set up a Webmail, say, for you company: definitely use some already existing software:

    • an existing software would be quite "good" already:
      • many people using it, which means many people who said "this could be done better", or "that is not user-friendly", or… you get the point ; all this made the existing software better 🙂
      • many people will have tried to break such an application — which means lots of security-fixes, which means an application probably more secure than you’ll write in a long time…
    • an existing open-source application will represent hundreds of days of work
      • are you really ready to spend that kind of amount of time working on something that already exists?
      • if you’re working for a company: is your company ready to pay your for one year? or even probably more ? working on something that already exists?
      • you don’t believe me? Read this blog-post: Code: It’s Trivial ; it’s about Stack Overflow, but it would be exactly the same for a webmail software (except that Stack Overflow is more recent — and probably had less code-contributors ; but that’s just a wild guess ^^ )

    As a sidenote: if your company wants you to build a clone of gmail, you won’t (same thing: how many people worked on gmail? How many programmers does your company have? How much can your company spend on this? )…

    And for just a couple dollars each year, your company could have a "professionnal" Google account for each one of it’s employes, BTW…


    After all this, if you still want to / have to write a custom hand-made webmail using a LA*(M)*P stack, you will need to know at least the following:

    • How to programm in PHP
    • The basics of IMAP (even if you use a library / framework, such a big application will require you to know some stuff about the underlying protocols, or won’t ever understand "why" or "how" something went wrong)
    • HTML / CSS / JavaScript (with some knowledge of AJAX — come on, it’s 2009 !)
    • So your application is easier to maintain (and adding/reworking/modifying stuff and correcting bugs is possible), you will probably want to use some Framework, and follow some design patterns and best practices
      • As an example, you can take a look at Frameworks like symfony, or Zend Framework
      • Yes, you can develop and application without a Framework, and/or without MVC… But.. ergh…

    Considering all this is not a problem (If you are not quite good at all this already, and/or don’t have much experience, it could take at least a couple of years to acquire that… Considering programming and web-developping is your full-time activity), you can start tkinking about accessing a mail server using, for instance, IMAP.

    There are several possibilities here.

    I would have a look, at least, before choosing, at these two:

    • PHP IMAP extension
    • Zend_Mail ; maybe it can be used outside of the Zend Framework, BTW

    Once your application is quite done, you will (hopefully !) start getting users, which means at least three things:

    • Bug-reports ; those are almost always urgent for users — like "OMG I don’t understand nothing works anymore, I gotta get my mail RIGHT NOW!"
    • Requests for evolutions: users always want more stuff like "I saw that in gmail on my personnal account ; how is it we don’t have that too with our corporate account? It’s the tool we use to work !"
    • "This is too slow, I can’t work !" ; then, pray you thought about scalability and optimization when you designed/developped the application!

    Here, again, are you ready to deal with that?


    Well, I think I said enough ; now, it’s your time to think: do you really want/need to develop such an application from scratch?

    If you have a bit of free time, maybe you could participate in an already existing, open-source, project ? That could be profitable to every one 😉

    Finally, one last thing: **if you want to work on such a project just for fun, to know what it’s like, and to learn more about web-development, then DO !**

    *(It’s, in my opinion, probably the only reason that would justify working on this, BTW)*

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

Sidebar

Ask A Question

Stats

  • Questions 155k
  • Answers 155k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Can you supply a test case of a string for… May 12, 2026 at 10:41 am
  • Editorial Team
    Editorial Team added an answer Sorry, but I think that's a really awful way to… May 12, 2026 at 10:41 am
  • Editorial Team
    Editorial Team added an answer EDIT: Answering your updated question: Hook the form's submit event,… May 12, 2026 at 10:41 am

Related Questions

We develop custom survey web sites and I am looking for a way to
I'm really disappointed with just about everything I find online that tries to teach
I'm trying to identify what would be the best selling point for a set
GWT seems like a really nice technology for Java developers who don't like (or
I've built a ascx control and I would like to be able to keep

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.