Thursday, March 30th, 2006

Building a Web-based Ajax POP3 Client

Category: JavaScript, Programming

<p> Once again, DevArticles is back with a new project that I’ve seen many people ask for as a way to keep on top of their email no matter where they are – an Ajax-enabled POP3 client. This article is the first of a three part series to create a simple app that can grab the messages from your mail server.

As you may have guessed, in this article I’ll make my contribution to the developing AJAX universe, by creating a simple web-based POP 3 client, which will utilize “XMLHttpRequest” objects for retrieving messages from a given mail server. The application I plan to develop will use a simple front-end for connecting to the mail host, displaying the messages and navigating back and forth across them. On the server-side terrain, I’ll use PHP for accessing the mail server, pushing POP3 commands and reading messages from the inbox, which implies having the possibility of switching over to your preferred language and using it to create the application.

The article goes through the steps of development – creating the interface, defining the client’s HTML structure, and finally, defining the framework of the Javascript functionality. Each step of the way, code and explainations are provided for this simple application.

There’s no real functionality in this first part – it’s just laying the groundwork for the code to come. The next article will build on this, giving you all of the Javascript code to get the application to start showing some usefulness.

Related Content:

  • Ajax powers Rich Client Faces
    Rich Client Faces is a JavaServerFaces library that provides a component set for building Web applications. RC Faces use Ajax technologies and an...
  • Why can't POP3 clients receive Exchange Server email?
    Get tips on how to download POP3 email to Microsoft Outlook mailboxes in a Microsoft Exchange Server...
  • Ajax Tutorial
    Ajax, short for Asynchronous Java and XML, has allowed developers to create interactive Web pages with rich interfaces. Rich Internet applications...
  • Ajax after the hype
    Yes, there was exuberance when Ajax burst on the scene in 2005, but by now it appears that the hype was justified by the benefits of the technology,...
  • Book Excerpt: Building AJAX JSF Components
    JavaServer Faces: The Complete Reference offers coverage of JavaServer Faces (JSF) including JSF custom component development. Written by experts...

Posted by Chris Cornutt at 7:33 am
5 Comments

+++--
3.3 rating from 55 votes

5 Comments »

Comments feed TrackBack URI

[...] ajaxian.com/archives/building-a-web-based-ajax-pop3-client [...]

Pingback by AlbanyWiFi.com » Blog Archive » Building a Web-based Ajax POP3 Client — March 30, 2006

RoundCube is IMAP, while the above article refers to POP3 protocol.

Comment by tayler — March 30, 2006

Somebody tell me how to monetize it and I will finish this one in a couple of weeks.

http://www.georgenava.com/xul/mailer/mail.php

Comment by George — March 30, 2006

Give me an ajax outlook + jabber client and I will personally pay for it.

Comment by krazykarl — March 31, 2006

The Yahoo Mail beta gives you pretty much an Ajax Outlook (or Thunderbird). You can hook up POP servers too.

http://overview.mail.yahoo.com/

Comment by Dave — April 4, 2006

Leave a comment

You must be logged in to post a comment.