Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitiona  (Read 23782 times)

0 Members and 1 Guest are viewing this topic.

Biker

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
    • http://www.biker-unity.de
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitiona
« on: November 02, 2003, 04:16:11 pm »

How can I make changes to the form (DOCTYPE) for the ecard-Mails???

Outlook doesn´t know this form!

If you send a pic by ecard with coppermine, in outlook it will look like this for the receiving person:

Quote
<html dir="ltr">

<head>

<title>Eine eCard von Der-Soeldner für Dich</title>



</head>

<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">



<p align="center"><a href="http://www.biker-unity.de/modules.php?name=coppermine&file=displayeca rd&data=YTo2OntzOjI6InJuIjtzOjIwOiJCZXJuZCBkZXIgZ2VpbGUgQm9jayI7czoyOiJzbiI 7czoxMjoiRGVyLVNvZWxkbmVyIjtzOjI6InNlIjtzOjIwOiJhZG1pbkBiaWtlci11bml0eS5kZS I7czoxOiJwIjtzOjgyOiJodHRwOi8vd3d3LmJpa2VyLXVuaXR5LmRlL21vZHVsZXMvY29wcGVyb WluZS9hbGJ1bXMvdXNlcnBpY3MvMTAwMDQvMDFfaWJpemFfMDMuanBnIjtzOjE6ImciO3M6MTA6 IlRlc3QtQmlrZXIiO3M6MToibSI7czo0MToiSGllciBpc3QgZGllIEVjYXJkIHp1bSBHYWxlcml lLVRlc3QhIDotUCAiO30%3D"><b>Falls diese eCard nicht korrekt angezeigt wird klicke auf den folgenden Link: </b></a></p>

<table border="0" cellspacing="0" cellpadding="1" align="center">

<tr>

<td bgcolor="#000000">

<table border="0" cellspacing="0" cellpadding="10" bgcolor="#ffffff">

<tr>

<td valign="top">

<img src="http://www.biker-unity.de/modules/coppermine/albums/userpics/10004/01_ ibiza_03.jpg" border="1" alt="" />

</td>

<td valign="top" width="200" height="250">

<div align="right"><img src="http://www.biker-unity.de//modules/coppermine/images/stamp.gif" alt="" border="0" /></div>



<b><font face="arial" color="#000000" size="4">Test-Biker</font></b>





<font face="arial" color="#000000" size="2">Hier ist die Ecard zum Galerie-Test! <img src="http://www.biker-unity.de/modules/coppermine/images/smiles/icon_razz.g if" alt="" border="0" /> </font>





<font face="arial" color="#000000" size="2">Der-Soeldner</font>

(<a href="mailto:admin@biker-unity.de"><font face="arial" color="#000000" size="2">admin@biker-unity.de</font></a>

</td>

</tr>

</table>

</td>

</tr>

</table>

<p align="center"><a href="http://www.biker-unity.de"><b>Klicke auf diesen Link, um mehr Bilder ansehen zu können!</b></a></p>

</body>

</html>


I know, that outlook isn´t the best mailclient, but it is the most used mailclient, and so there must be a solution for this problem, isn´t it so?!

greets
Bernd
Logged

Biker

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
    • http://www.biker-unity.de
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitiona
« Reply #1 on: November 02, 2003, 05:00:12 pm »

I found the solution for this problem with the help from a friend:

If you have the same problem as I, you only have to do 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.018 seconds with 14 queries.