phpMailer4osC

What does this script do?

phpMailer4osC is a replacement mail engine for stock osCommerce email function that lack support for SMTP with authentication either TLS/SSL or anything. This script utilise Open Source phpMailer class available from http://phpmailer.sourceforge.net currently version 1.73 to replace osCommerce email.php class

Since my store is hosted on Win32 server and php.ini SMTP directive is not setup properly I then decided to look for another solution beside requesting support ticket for my webhosting company to fix that (in case I move to another server with the same problem).

Who should use this script?

You should use this script if on (or more) following conditions is true;


Version History click to toggle visibility

Version 1.0


To-Do List click to toggle visibility

these are the to-do list. Any improvement is welcomed.


Support Notes click to toggle visibility

Having questions, problems or suggestions?

The support forum for this contribution can be found by clicking here.

SMTP

(pronounced as separate letters) Short for Simple Mail Transfer Protocol, a protocol for sending e-mail messages between servers. Most e-mail systems that send mail over the Internet use SMTP to send messages from one server to another; the messages can then be retrieved with an e-mail client using either POP or IMAP. In addition, SMTP is generally used to send messages from a mail client to a mail server. This is why you need to specify both the POP or IMAP server and the SMTP server when you configure your e-mail application.
.. taken from http://www.webopedia.com/TERM/S/SMTP.html


Installation Instructions click to toggle visibility

Note: read the installation instructions *all* the way and if you do not understand what is being said here, do not try to install it!

Step #1 - Analyzing requirements

This contribution requires:

  • osCommerce 2.2-MS2 (Tested!)
  • osCommerce 2.1 (Not tested, but should work!)

Step #2 - Backup files

Make a backup of the files that are going to be changed:

  • includes/classes/email.php
  • admin/includes/classes/email.php

Step #3 - Add files
  • put the file class.phpmailer.php into includes/classes/ and admin/includes/classes.
  • put the file class.smtp.php into includes/classes/ and admin/includes/classes.

Step #4 - Edit files

Open file includes/classes/email.php and admin/includes/classes/email.php, find line that write (around line 519);

comment //return mail ... and add the following codes below it, be sure to edit Host, Username and Password

Congratulations, you've just installed phpMailer4osC to your store!


* this readme file is taken from osCommerce 'On The Fly' Thumbnailer using GD Library. I really think that this should be the standard readme format for all osCommerce contribution files (very neat and clean).