Hi,
I was searching for the Bug-report forum, but couldn't find it...
Here is the bug I found (at least, I think it's a bug).
When sending an e-card to myself (for testing purposes), I get a message with html tags and everything, like looking at the source of a webpage.
I'm opening the mail with Outlook Express 6 - Windows Xp Prof SP1.
After a few hours I discovered the problem, it's in the Coppermine/include/mailer.inc.php file, in lines 32-37.
Change this code:
$extra_headers = "From: $sender_name <$sender_email>\r\n".
"MIME-Version: 1.0\r\n".
"Content-type: $type; charset=" . $charset . "\r\n".
"Content-transfer-encoding: 8bit\r\n".
"Date: " . gmdate('D, d M Y H:i:s', time()) . " UT\r\n".
"X-Mailer: Coppermine Photo Gallery\r\n";
Into:
$extra_headers = "From: $sender_name <$sender_email>\n".
"MIME-Version: 1.0\n".
"Content-type: $type; charset=" . $charset . "\n".
"Content-transfer-encoding: 8bit\n".
"Date: " . gmdate('D, d M Y H:i:s', time()) . " UT\n".
"X-Mailer: Coppermine Photo Gallery\n";
If anyone has problems with my solution, please inform me :).
Thanks for reading,
I've same problem B4, but it's fixed when I config the mailer.inc.php" file to "$config['smtp_host']="localhost" :lol:
ps. It is running on my own server with sendmail.
Tiger
www.xtrasky.com
I'm running the same as you, but I didn't get that problem...although I'm using SendMail and not SMTP to send my e-cards.
This problem is particular to Outlook and the above fix (changing \r\n to \n should work...)
Quote from: "outerverse"I'm running the same as you, but I didn't get that problem...although I'm using SendMail and not SMTP to send my e-cards.
sendmail is smtp
smtp = simple mail transport protocol
There are other smtp agents, but sendmail is the default on on most Linux machines
smtp is a protocol, same as http, pop3, ftp, etc are protocols
sendmail is the smtp agent, or daemon, just as IIS or apache is a http agent