OsCommerce SMTP

installation guide of OsCommerce with Mailazy SMTP


You need to complete these given prerequisites, you can skip the step if you have already completed.

  1. Sign up for a Mailazy account.
  2. Complete Domain Authentication.
  3. Generate the Mailazy Access Key


Note: ( Please backup your files before proceeding with the following steps)

To install Mailazy:

  1. Download MailazyAPI Class file: https://github.com/mailazy/mailazy-php/blob/main/src/Mailazy/
  2. Find files mailazyAPI.php from mailazy-php package.

Then upload them into these folders:

  1. Access the following files and edit them according to the examples provided below:

Inside each of the email.php files you have to locate the following section around line 519:

if  (EMAIL_TRANSPORT == ‘smtp’) {

Please add following code before above lines:

require_once(DIR_WS_CLASSES . "mailazyAPI.php");
$mailazyClient = new mailazyAPI();
return $mailazyClient->send();

The changes should be applied to both of the email.php files so that both the front-end and back-end of your application could successfully send emails.


Register an account first ,then Go to Administrative Panel > Tools > Send Email to have a try