Hi there,

I have an issue with CFPOP and attached files.

I create a message using Thunderbird. If I "attach" the file, it works
fine and the file appears in the "attachedfiles" of the returned
query.

If I *insert* the same image into the HTML body so it is "inline", it
does not appear in the attached files.

E.g. Attached image file:

Subject: test 2
Content-Type: multipart/mixed;
boundary="------------060303040909060506050808"

This is a multi-part message in MIME format.
--------------060303040909060506050808
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

test

--------------060303040909060506050808
Content-Type: image/jpeg;
name="masthead_Gigx_03.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="masthead_Gigx_03.jpg"

/9j/4AAQSkZJRgABAgAAZABkAAD/....base64......

60EidKBchQEa86B40oP/Z
--------------060303040909060506050808--

Example of "inline" image (same file):

Subject: test 1
Content-Type: multipart/related;
boundary="------------010507040504060509080009"

This is a multi-part message in MIME format.
--------------010507040504060509080009
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
 <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
 <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>

<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
<img alt="ff" src="cid:[EMAIL PROTECTED]"
height="27" width="80"><br>
</body>
</html>

--------------010507040504060509080009
Content-Type: image/jpeg
Content-Transfer-Encoding: base64
Content-ID: <[EMAIL PROTECTED]>

/9j/4AAQSkZJ....base64...0EidKBchQEa86B40oP/Z
--------------010507040504060509080009--

To render the inline image correctly, I was planning on replacing the
"CID:"; img src to a real http URL to make it display properly.

Anyone know where I'm going wrong? Or have another solution? I'm sure
this has been done before.

Kind Regards,

Jon Austin

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184247
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to