Community Add-Ons

Maintainers: naylwin
Add file to this package
Top » Other

PHPMailer for OsCommerce
for osCommerce Online Merchant v2.2

PHPMailer lets the store owner send html email instead of plain text email that OsCommerce provided by default. PHPMailer also provides SMTP authentication so the user can use SMTP running on different server.

Hope this will help someone ;-{)

Legend:  Download   Report
Expand All / Collapse All
Nicer HTML Output Kess 31 May 2008  

digaovr did a nice work and saved me from some troubles.
Unfortunately the HTML output of the code is not so nice as espected. I did a little modification to digaovr's code in order to better format the HTMl output of the sent e-mails.

After applying the mods proposed by digaovr change in:
catalog/includes/classes/email.php
catalog/admin/includes/classes/email.php

Find:
$pMail->Body = $this->output;

Replace with:
$pMail->Body = '<font face="Verdana" size="1">'.nl2br($this->output).'</font>';

Use your preferred font, I choosed Verdana with a size of 1.

Hope this helps.

PHPMailer para oscommerce - tutorial e arquivos digaovr 30 Jun 2007  
PHPMailer for OsCommerce naylwin 23 Jun 2007