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

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitiona

Started by Biker, November 02, 2003, 04:16:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Biker

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 (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

Biker

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