Products     Magento Extension     PCI-Shopping-Carts     Templates       CRELoaded     WordPress Modules     osCommerce Modules       osCommerce Addons       osCommerce Features       osCommerce Management       Payment Modules     CRELoaded Modules       CRE Loaded Addons       CRE Loaded Features       CRE Loaded Management       Payment Modules       CRELoaded Services
Free Stuff
Customization
Templates
Compare Products
You have no items to compare.
Affiliate Info
Affiliate Program FAQ
Affiliate Log In
Recent Orders
Hot Keywords: Order Notification, Order Search, Coupon, Flash Board, Compare, Floating Message, Tracking, Moneris, RSS, Visitor Filter

  PHPMailer for OsCommerce

The following osCommerce contribution is a free Opensource code originated from official osCommerce website and provided for your reference only, you may download the original contribution file(s) and install it on your own; or you may request a Paid Installation Service from Agents Of Power; Agents Of Power does the "AS IS" installation on your website, we do not guarantee it will work properly on your website. Extra Paid service is available for repairing the problem from the original contribution or from your website.
If you need authentification on the mail server you have to add some few features to be allowed to send mails. This is compareable to the feature "Authentificate before SMTP" in your local mail program.

The PHPmailer Class uses the attributes Username, Password and SMTPAuth. We will fill them with the necessary information.

Step 1:
Install "PHPMailer for OsCommerce" as it is explained before.

Step 2:

In the files
/content/includes/configure.php
/content/admin/includes/configure.php

find:

define('SMTP_MAIL_SERVER', 'mail.yourmailserver.com');
define('SMTP_PORT_NUMBER', '25');
define('SMTP_SENDMAIL_FROM', 'valid_email@yourmailserver.com ');
define('SMTP_FROMEMAIL_NAME', 'store owner name');

and replace with:

define('SMTP_MAIL_SERVER', 'mail.yourmailserver.com'); define('SMTP_PORT_NUMBER', '25');
define('SMTP_SENDMAIL_FROM', 'valid_email@yourmailserver.com ');
define('SMTP_SENDMAIL_USERNAME', 'valid username for mail server');
define('SMTP_SENDMAIL_PASSWORD', 'valid password for mail server');
define('SMTP_SENDMAIL_SMTPAUTH', 'true');
define('SMTP_FROMEMAIL_NAME', 'store owner name');

Step 3:
In the files:
/content/includes/functions/general.php
/content/admin/includes/functions/general.php

find:

$message->Host = SMTP_MAIL_SERVER; // SMTP server

and replace with:

$message->Host = SMTP_MAIL_SERVER; // SMTP server
$message->Username = SMTP_SENDMAIL_USERNAME; // SMTP server username
$message->Password = SMTP_SENDMAIL_PASSWORD; // SMTP server password
$message->SMTPAuth = "true";

Done.
   Posted on: 12/30/2008     See contribution details Request Installation with Paid service