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 / 13
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

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

- Project Nashorn to Make Java, JavaScript Wor...
- JavaScript Virus Attacks Tumblr Blogs
- Google Releases Stable Dart Version, JavaScr...
- Khan Academy Unveils New JavaScript Learning...
- Accessing Nitro? There`s an App for That
- JQuery 2.0 Leaving Older IE Versions Behind
- Fastest JavaScript Engine Might Surprise You
- Microsoft Adjusting Chakra for IE 10
- Brendan Eich: We Don`t Need Google Native Cl...
- An Overview of JavaScript Statements
- An Overview of JavaScript Operators
- Overview of JavaScript Variables
- More of the Top jQuery Social Plugins
- The Top jQuery Social Plugins
- More of the Top jQuery Slider Plugins

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




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