[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


php mail system

Posted on 2014-08-14
Medium Priority
Last Modified: 2014-08-28

I have read that it is possible to create a mailbox system using php. However, php does not handle some of the multi-threading as well as other items due to its stateless nature. Regardless, i am curious if it something to investigate further and come up with my own solution, if there are good open source alternatives or good tutorials.

Essentially, I would like to have an admin login to a website and direct them to a page. The page will fetch emails from a directory on the web server and display them for the admin. The admin could then respond, delete, save, etc the emails as per usual. I know sending emails is the least of the problems here the larger part would be handling of the incoming messages.

im not very concerned with having the ability to sync using pop, imap or smtp (although if it is not very difficult i guess the more flexibility the better). I assume that most of the users interaction with the emails will be handled with a combination of javascript, ajax, and php

thanks in advance
Question by:J N
LVL 58

Accepted Solution

Gary earned 1000 total points
ID: 40261490
There is a rake of email clients already, no point in reinventing the wheel

LVL 29

Assisted Solution

chilternPC earned 500 total points
ID: 40261521
I would use Squirrelmail its open source, free and supported does all you ask

LVL 111

Assisted Solution

by:Ray Paseur
Ray Paseur earned 500 total points
ID: 40265066
Not sure why you want to do this, but if there are reasons to avoid the existing mail clients, please tell us and we may be able to help more.  Otherwise, if the existing mail clients can do what you want it would be a lot easier to just choose and use.

Author Comment

by:J N
ID: 40274118
Honestly, its more of a learning exercise.

Plus i bought a nice looking template that i would like to give a whirl

Does this eliminate some options?


LVL 58

Assisted Solution

Gary earned 1000 total points
ID: 40274125
Just download one of the existing ones and go through it.
It will be a lot easier than trying to write it yourself.
You can style them however you like.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
This article discusses how to create an extensible mechanism for linked drop downs.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses
Course of the Month19 days, 12 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question