HOME  |    TRAINING  |   FREE TUTORIALS   |   JOBS
Find out more about our new RSS feed.
FREE Tutorial
PROFESSIONAL WAP PART 1 - WAP AND E-MAIL

CATEGORY
SEARCH OUR OTHER TUTORIALS

DESCRIPTION

Generally acknowledged as being the 'killer-app' of the Internet, e-mail is more frequently used than even the Web. As more and more people rush online, e-mail will become, even more, the ubiquitous means of communication between individuals, for all sorts of purposes, in many different spheres of activity.


This free tutorial is a sample from the book Professional WAP.


E-mail has achieved a phenomenally wide user base over the last few years, which is due in part to the power and design of the Internet mail protocols that we will be examining later in this chapter. Programming with those e-mail protocols is, however, a subject that has received surprisingly little attention from the mainstream programming textbooks.

One of the secrets of e-mail's amazing success with the general public is that it hides the underlying complexities and details of transmitting and retrieving electronic mail from the end user, allowing for low maintenance and ease of use. Mobile phones and PDAs have also been tremendously successful because, like e-mail, they provide a user-friendly interface to a powerful communication paradigm. These wireless consumer devices are likely to be far more quickly and widely adopted by the largely non-technical general public in the next few years, overtaking the more powerful and complex personal computer.

The market penetration of WAP-enabled mobile phone technology will bring with it greater demand for more flexible, and powerful, mobile computing applications. Wireless e-mail functionality will be at the core of this revolution.

E-mail and WAP are fast becoming the most demanded combinations of technology by both corporations and general consumers.

Within today's e-commerce computing systems, the ability to exchange messages is an important feature, and one which will be demanded far more frequently as the functionality provided by e-mail becomes a de-facto standard, replacing the outdated fax technology for most businesses, and being fully integrated with corporate voice mail systems.

In fact, the ultimate goal for messaging technology for many organizations is a universal inbox in which voice, fax, and email can be viewed in any format by a mobile communicator device. For example voice mail, email and faxes should be viewable as email, audible like a voice mail, or sent to a nearby fax machine or printer.

In this chapter we will:

  • Review the history of e-mail and the current e-mail protocol standards
  • Look at Sun's JavaMail API
  • Build server-side Java programs to deliver e-mail messaging features for WAP-enabled devices
  • Briefly examine how to use CDO and ASP to incorporate e-mail into web applications on the Microsoft platform

To see this in practice the chapter will finish with a an e-mail application that uses all three technologies, WAP, CDO and ASP.

Introduction to E-Mail

E-mail is an asynchronous message exchange technology. This simply means that when you send an e-mail message the recipient(s) does not have to be available at that instant to receive the mail, but may collect the message at his or her own leisure.

E-mail was one of the first applications to be used on the Internet and has shown a remarkable amount of tenacity. The protocols used to transmit and deliver e-mail have been evolving and changing over the years, and we have seen a wide variety of proprietary protocols come and go. Most of these proprietary solutions are now either obsolete or have been adapted to the open standards adopted on the Internet at large.

The idea of proprietary e-mail systems is no longer feasible in the Internet computing world - systems must interconnect to benefit from the huge installed base of Personal Computers, Macs and workstations, interactive TVs and mobile devices, linked to the Internet.

The History of Internet E-Mail

The ARPANET (Advanced Research Projects Agency Network) was created in 1969 as an experimental project to enable communication between participants in the DARPA (Defence Advanced Research Projects Agency) community. Ray Tomlinson wrote SNDMSG, the first ARPANET e-mail system, in 1972, and e-mail protocols and systems have snowballed since then.

To gain an idea of the worldwide adoption of this technology, here are some figures detailing e-mail usage (taken from NUA Internet Surveys):

  • In the early 1990s, there were only 15 million e-mail accounts in the world
  • There were 569 million e-mail accounts globally at year-end 1999; this figure is up 83% on the previous year
  • It is predicted that there will be in excess of one billion e-mail accounts worldwide by 2002

The Decline X.400 and the Rise of Internet Mail Protocols

The International Standards Organization (ISO) spent many years working on the vast and complete X.400 protocol as the de-facto standard for electronic mail.

However, whilst waiting for the final published specification, many vendors developed proprietary e-mail systems that achieved a wide deployment. The ISO e-mail standard, along with X.500, its sister standard for directory services, was simply released too late to achieve market dominance. The PC revolution was in full swing, and other, less expensive implementations such as MS Mail, Lotus Notes and cc:Mail had achieved a critical market share. Despite the vast reach of the ISO and the comprehensiveness of the enterprise (the brief was to design a complete mail specification), the standard was unable to displace the mass of e-mail systems already firmly established.

Acceptance of X.400 was further hampered by the fact that the ISO had missed some fairly vital pieces of functionality, such as the ability to asynchronously access mail messages without a permanent connection to the Internet in a way we will discuss later using the Post Office Protocol (POP3).

Nevertheless, X.400 may see some sort of renaissance as a mail backbone to transfer mail messages between mail servers, and is actually being used as a standard mail backbone protocol by several of the major vendors, including Lotus, Microsoft, IBM, and HP.

X.400 does provide:

  • Good support for Binary Large Objects (BLOBS)
  • Support for Electronic Data Interchange (EDI)
  • Security via X.509 certificates
  • Well designed connectivity of mail functionality with the X.500 Directory Service specification

WAP and E-Mail

We are now seeing the emergence of devices that integrate the more traditional capabilities of e-mail with the telephony features available to mobile phones, and other wireless devices. These devices are able to leverage the functionality, and familiarity, of both e-mail and wireless technologies. They are also truly portable, unlike most mail-enabled devices that have been used previously.

Short Messaging Service (SMS)

Short Messaging Service (SMS) messages, currently available on most modern mobile phones, have now reached over one billion messages exchanged a month in the European market alone, despite relatively light marketing of the feature by network operators and handset manufacturers.

However, sending an SMS message is unwieldy; you can only send messages in 160 character chunks of text. The editing of SMS messages is usually a cumbersome and laborious process and the user typically receives no warning when the character limit is about to be reached. Furthermore, to use SMS you need to know the mobile number of the person you wish to contact.

What E-Mail and WAP Can Offer

The popularity achieved by the very limited SMS technology indicates that demand for messaging over mobile phones certainly exists, and giving mobile phones all the functionality of e-mail seems to be the next logical step.

E-mail is a substantially more advanced technology than SMS, even if it is only used for simple SMS-like text messages. Message recipients are not limited in how they receive the message when using e-mail. Rather than only being able to access the message from a single mobile phone, the user can choose to access it from whatever client e-mail software he or she prefers, whether that is another WAP phone, a home PC, laptop, or even a UNIX workstation. E-mail, unlike SMS, allows for the recipient to have an address that is more like 'natural-language' than a phone number, and is thus easier to remember. Furthermore, e-mail provides the ability to mail 'group' addresses; for example all@wapbook.org. As we will see later in the chapter, e-mail also has substantial multi-media functionality, and can use a variety of security protocols.

WAP devices and e-mail capabilities seem to be an ideal technological fit since they allow for a useful synergy of personal communication technology: delivering the convenience of portability from mobile phones, whilst allowing instant access to e-mail, providing asynchronous access to written messages.

It is interesting to supplement the figures on e-mail usage listed above, with some corresponding figures on mobile and WAP usage, in order to assess the scale of the potential market that WAP e-mail functionality may reach (source: Durlacher Research Ltd):

  • There are currently 300 million mobile subscribers, growing at 50% per annum (PC growth globally is now only about 20% p.a. and falling)
  • WAP penetration into the mobile phone market is predicted to be 8% in 2000, 22% in 2001, 50% in 2002 and 85% in 2003
  • It is predicted that the m-commerce market in Europe will be worth 5 billion euros during 2000, rising to over 20 billion euros by 2003. E-mail will play a vital part in this boom.
  • By 2003, over 50% of Internet access will be by non-PC devices (Meta Group)
  • By 2005, 1 billion mobile devices will be used worldwide (Gartner Group)

The convergence of technology between the established e-mail protocols and WAP devices provides an immediate and interesting challenge to the entrepreneurs and programmers of the next few years.




5 RELATED COURSES AVAILABLE
MICROSOFT INTERNET EXPLORER 6.0 INTERNET INTRODUCTION
This course provides readers with an introduction to the concept of the Internet and the opportunity to gain a br....
MICROSOFT INTERNET EXPLORER 5.0 INTERNET INTRODUCTION
This course is a self-paced introduction to browsing the internet and sending e-mail using MS Internet Explorer a....
I-NET+ MODULE 7 - THE WORLD WIDE WEB SERVICE
On completion of this module, readers will be able to: understand how the World Wide Web service works, understan....
HTML 4.0 INTRODUCTION
To create, format and publish a small website using HTML 4.0. You will learn to create web pages incorporating fo....
JAVASCRIPT PROGRAMMING
This training course aims to teach the reader the fundamentals of JavaScript. This course covers topics such as -....
 
0 RELATED JOBS AVAILABLE
CONTACT US
Monday 6th October 2008  © COPYRIGHT 2008 - VISUALSOFT