Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Problem with the eCard  (Read 15156 times)

0 Members and 1 Guest are viewing this topic.

matmike

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Problem with the eCard
« on: October 09, 2003, 11:28:08 am »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Problem with the eCard
« Reply #1 on: October 09, 2003, 11:48:20 am »

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

GauGau
Logged

rinaldo2000at

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
ECard-Html Code
« Reply #2 on: November 02, 2003, 04:07:09 pm »

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 ....???
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Problem with the eCard
« Reply #3 on: November 02, 2003, 04:22:03 pm »

Logged

rinaldo2000at

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Problem with the eCard
« Reply #4 on: November 02, 2003, 04:44:21 pm »

THK
Logged

Biker

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
    • http://www.biker-unity.de
Problem with the eCard
« Reply #5 on: November 02, 2003, 04:57:05 pm »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 18 queries.