News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

Problem with the eCard

Started by matmike, October 09, 2003, 11:28:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

matmike

Hello,

I have a big problem sending eCards from CPG1.1.0.
When I try to send an eCard, it seems it is done correct. But when I check my mail, it shows that the "eCard" is just plain text (using Outlook XP).
The first lines are the MIME-Type and Conten-Type Settings.
Can anyone explain to me how to configure CPG in a way that it sends out the eCard as html, not as plain text?
Maybe my provider is blocking the option of sending mail with php. But I know it is working with sendmail. Maybe someone can give me some hints, where I have to search for the options and what I have to change.

THX,
MatMike

Joachim Müller

this is a known issue (see http://coppermine-gallery.com/forum/index.php?topic=281 ) and will be fixed in the next release.

GauGau

rinaldo2000at

Hello,

When I try to send an eCard, it seems it is done correct. But when I check my mail, it shows that the "eCard" is just plain text (using Outlook 98).
The first lines are the MIME-Type and Conten-Type Settings.
Can anyone explain to me how to configure CPG in a way that it sends out the eCard as html, not as plain text?

but  i want only the txt whit link in the email for ecards, can you say the right code for ....???

moorey


rinaldo2000at


Biker

You don´t have to wait for an update!!!!

You only have to fix this:

Change this (include/mailer.inc.php ..... line 32 -> 37)

Quote$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";

to this:

Quote$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";

Now you can also receive the ecards with outlook!

greets Bernd