Gallery version = 2.1.2 core 1.1.0.2
PHP version = 4.4.1 cgi-fcgi
Webserver = Microsoft-IIS/5.0
Database = mysql 4.0.25-nt-max, lock.system=database
Toolkits = Exif, Gd
Acceleration = none, none
Operating system = Windows NT WEB12 5.0 build 2195
Default theme = PGtheme
Locale = de_DE
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.0; de; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
Hey,
im testing gallery2 on our website.
But the "Send as e-card" doesn't work correct. The mails are sent, but the picture is not attached and the mail looks just aweful ... :D
I found the problem with the forum-search but no solution:
http://gallery.menalto.com/node/58223
http://gallery.menalto.com/node/48304
The only setting I found is at the e-card-module. But setting it from "HTML" to "Plain Text Only" doesn't change a thing.
Thanks for any help !
PS.: This is how the mail looks:
==========================================================
Content-Type: multipart/alternative;
boundary="=_1be0b08faddd653cfb54f7a7c270175c"
--=_1be0b08faddd653cfb54f7a7c270175c
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Hi The Recipients name!<br />The Senders name (oooo@ooooo.ooo) has sent you
an eCard:
What a test ...
--
I hope you like it !
--=_1be0b08faddd653cfb54f7a7c270175c
Content-Type: multipart/related;
boundary="=_aadbb8360f7a80966ddb02aadbb1b55f"
--=_aadbb8360f7a80966ddb02aadbb1b55f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org=
/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-8"/=
>
<title>eCard</title>
</head>
<body style=3D"background: #fff; text: #000; font-family: sans-serif;">
<p>Hi The Recipients name!<br />The Senders name (oooo@ooooo.ooo=
e) has sent you an eCard:</p>
<p>What a test ...</p>
<img src=3D"cid:2fb17b0cdcdeb8e642451006154b5daf" border=3D"0" style=3D"p=
adding: 2em 0;" />
<hr />
<p><small>I hope you like it !</small></p>
</body>
</html>
--=_aadbb8360f7a80966ddb02aadbb1b55f
Content-Type: image/jpeg
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="MVC-601S.JPG"
Content-ID: <2fb17b0cdcdeb8e642451006154b5daf>
/9j/4AAQSkZJRgABAQAAAQABAAD//gA7Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcg
SlBFRyB2NjIpLCBxdWFsaXR5ID0gNzUK/9sAQwAIBgYHBgUIBwcHCQkICgwUDQwLCwwZEhMPFB0a
Hx4dGhwcICQuJyAiLCMcHCg3KSwwMTQ0NB8nOT04MjwuMzQy/9sAQwEJCQkMCwwYDQ0YMiEcITIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIy/8AAEQgBrwI/
------------- cut -----------------------
================================================================
Posts: 32509
i just tested this in g2.2 with g2.2's ecard module and html emails.
it works for me.
i know that there have been some related fixes since g2.1.2. maybe g2.2 works for you.
--------------
Enter the Gallery 2 Theme Contest today!
Posts: 8
Hello valiant,
thanks for your reply !
Actually I did not want to start the gallery with a ReleaseCandidate ...
This problem might be fixed in there, but who knows what other problems I'll get ...
Is there a fix for this problem in 2.1.2 ?
(Is it a problem of 2.1.2 at all ... ? Can't imagine that a stable release has such a "defect" ... )
Posts: 2
I am having the same problem. The ecard is sent but it seems to be in the wrong format or something. I get the same problem. No attached photo and scrambled text. Anyone have any ideas.
Sincerely,
www.flipmode.com
Posts: 2
Ok, I found the solution. Don't add anything to the BCC field in eCard administration. Seems to be a bug maybe.
Sincerely,
www.flipmode.com
Posts: 31
Confirmed. With the BCC field left blank it works fine, but if an address is BCC'd then the formatting goes bad.
This appears to be due to a bug which is inserting an extra blank line before the Content-Type header if there is a BCC header. Of course the BCC header is not shown at the receiving end, but here are the last few displayed headers of two examples:
Without BCC:
With BCC:
Since a blank line denotes the end of the header block, the Content-Type header is being treated as part of the message body, with the resultant failure to identify the various MIME parts.
Gallery version = 2.2.4 core 1.2.0.6
PHP version = 5.2.4 isapi
Webserver = Microsoft-IIS/6.0
Database = mysqlt 5.0.45-community-nt, lock.system=flock
Toolkits = Exif, LinkItemToolkit, Thumbnail, Gd
Acceleration = partial/21600, partial/21600
Operating system = Windows NT BLACKBOX 5.2 build 3790
Default theme = carbon
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Posts: 10
Are there any solutions to this problem yet, other than not using a bcc?
-=|=- abish
www.abishphotodesign.com
Posts: 6
Hello,
Any solutions to this problem??
Thank
Posts: 14
Hey,
I found this post after posting here: http://gallery.menalto.com/node/71271
This solved my problem with SMTP (I can live without the BCC feature), but still I'm puzzled why it does not work with PHPMail and Firefox...