PDA

View Full Version : PHPMailer for OsCommerce



michael_s
05-31-2008, 05:01 AM
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 = ''.nl2br($this->output).'';

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

Hope this helps.

More... (http://addons.oscommerce.com/info/5233)