Home arrow JavaScript arrow Sending Email with an SMTP Client Built with Prototype and PHP
JAVASCRIPT

Sending Email with an SMTP Client Built with Prototype and PHP


If you're a web developer who wants to acquire a solid background in building applications with the popular Prototype JavaScript library, then this set of articles may be what you're looking for. Welcome to the last installment of the series that began with "Building an SMTP Client with Prototype." Made up of three friendly tutorials, this series teaches you how to use this powerful software package to create a highly expansible email application that works with most modern browsers.

Author Info:
By: Alejandro Gervasio
Rating: 5 stars5 stars5 stars5 stars5 stars / 2
October 02, 2007
TABLE OF CONTENTS:
  1. · Sending Email with an SMTP Client Built with Prototype and PHP
  2. · The complete client-side code of the SMTP application
  3. · Sending email with PHP
  4. · Full source code of the SMTP client application

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Sending Email with an SMTP Client Built with Prototype and PHP
(Page 1 of 4 )

Introduction

Going back for a moment to the second article of the series, quite possibly you'll recall that building this SMTP client using the functionality provided by Prototype can be tackled with minor problems. Since the library comes packaged with many useful features, like the neat "AJAX.Updater" class and the $ and $F functions, it's possible to create AJAX-based applications, like the one discussed here with extreme ease.

This fact was clearly demonstrated in the previous tutorial, where I showed you how to turn the corresponding user interface of the SMTP client into a fully-functional front-end by defining a few simple JavaScript functions for sending HTTP requests via the "AJAX.Updater" class and assigning the appropriate behaviors to each form control included in the graphical interface.

However, even with the SMTP application near completion, you'll certainly remember that there was one missing piece in this schema. So what was it? Well, to be frank, the SMTP client needs to interact with a PHP file on the web server, which is the component that actually sends an email message, using the different parameters entered by the user.

Therefore, in this final part of the series I'm going to complete this email application by creating a simple yet efficient PHP script, which will be responsible for sending email messages to the recipients specified by the user.

The experience sounds really instructive and why not, enjoyable too, so let's not waste more time in preliminaries and begin now!


blog comments powered by Disqus
JAVASCRIPT ARTICLES

- More Top jQuery Tutorials for Beginners
- More Top jQuery Plugins for Menus
- Top jQuery Tutorials for Beginners
- New UI Framework and SDK for JavaScript Rele...
- JavaScript OpenPGP Tool, Node.js 0.6.3 Avail...
- Yahoo Releases Cocktails Language and Develo...
- Customizing jQuery Slideshows: Dynamic Contr...
- Customizing jQuery Slideshows: the animate()...
- Customizing jQuery Slideshows: slideUp() and...
- Customizing jQuery Slideshows: hide() and sh...
- Web Workers: Performing Calculations in Para...
- More Top JavaScript Frameworks and Libraries
- More Dynamic jQuery Styling Techniques
- The Top JavaScript Libraries
- The Top JavaScript Frameworks

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 8 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials