Post by danitaz » Sun Nov 03, 2013 2:33 am

I migrated my cart from 1.4x to 1.5.6 recently. Ever since then a modification I made to the mail.php file to include a bcc on messages so that I can keep a record of mail I send out is not working. I've added the bcc line like this:


$header .= 'Date: ' . date('D, d M Y H:i:s O') . $this->newline;
$header .= 'From: ' . '=?UTF-8?B?' . base64_encode($this->sender) . '?=' . '<' . $this->from . '>' . $this->newline;
$header .= 'Reply-To: ' . '=?UTF-8?B?' . base64_encode($this->sender) . '?=' . '<' . $this->from . '>' . $this->newline;
$header .= 'Return-Path: orders@caledonia.net' . $this->newline;
$header .= 'X-Mailer: PHP/' . phpversion() . $this->newline;
$header .= 'Bcc: me@mydomain.com' . $this->newline;

I've tried moving the bcc line around - after return-path, before return-path, etc. But in the 1.4x file it was just after the X-Mailer (actually there was also a mime type line in it).

Any ideas why this isn't working?

Thanks.

Danita

New member

Posts

Joined
Wed Apr 21, 2010 9:02 am

Post by danitaz » Sun Nov 03, 2013 10:11 am

Hmm. Never mind. It's working now. I did move things around a bit, but it's exactly like in my post now, as is working as expected.

Thanks!

Danita

New member

Posts

Joined
Wed Apr 21, 2010 9:02 am
Who is online

Users browsing this forum: No registered users and 28 guests