This project is read-only.

Problem with images when... Content-Disposition: inline

Jul 28, 2008 at 6:11 PM
First I want to thank you for your hard work.  Your code is very nicely done.

I am having a challenge with your MailSample form.  It doesn't "extract" an image when: Content-Disposition: inline

I believe what this mean is that the image in "embedded" in the body of the message.  Can you make it so that your demo form app will extract the inline image and handle it as an "attachment" so that when I click your "Get" button, it saves it like an attachment?

Thanks again,
Kevin C.

PS - This was a MMS email from a cell phone to an email address....

Here is the WireShark capture when I run  your app on the inline content email...

+OK <>
pass blah_blah
Retr 8
+OK 30615 octets
Received: (qmail 30725 invoked from network); 23 Jul 2008 17:23:57 -0000
Received: from unknown (HELO ([])
          (envelope-sender <>)
          by (qmail-1.03) with SMTP
          for <>; 23 Jul 2008 17:23:57 -0000
Received: (qmail 9496 invoked from network); 23 Jul 2008 17:23:22 -0000
Received: from ([])
          (envelope-sender <>)
          by (qmail-ldap-1.03) with SMTP
          for <>; 23 Jul 2008 17:23:21 -0000
X-Mms-MMS-Version: 16
Date: Wed, 23 Jul 2008 12:24:13 -0500
X-Nokia-Ag-Internal: ; smiltype=true; internaldate=1216833853002
Content-Type: multipart/mixed;  boundary="----=_Part_19615207_12540368.1216833853007"
X-Mms-Delivery-Report: 1
Received: from schagw02 ([]) by (InterMail vM. 201-2131-118-20041027) with ESMTP id> for <>; Wed, 23 Jul 2008 13:23:19 -0400
X-Mms-Transaction-ID: E13067B1CD9715
From: <>
X-Mms-Message-Class: 0
X-Mms-Read-Reply: 1
Mime-Version: 1.0
Message-ID: <10593438.1245454507.JavaMail.wluser@schagw02>
X-Mms-Priority: 1
X-Mms-Message-Type: 0
Subject: Multimedia message
X-Nokia-Ag-Version: 2.0
X-Nonspam: Statistical 60%

Content-Type: image/jpeg
Content-Transfer-Encoding: base64
Content-Location: Image_13.jpg
Content-Disposition: inline




Aug 11, 2008 at 7:36 AM
Thank you for your post and comment.
I notice this discussion post yesterday,excuse me too late reply.
I modified Sample app with your requirement.
I hope this meet your requirement.


Nov 5, 2008 at 6:43 PM
Thanks!  Will try it out again soon.
Nov 6, 2008 at 10:10 PM
Edited Nov 6, 2008 at 10:31 PM
It seems standard attachments (as images) are broken now. 


Edit:  I believe this happens when there is no body text at all. 

The attachment was sent via a phone, with only a subject and attachment.
Nov 10, 2008 at 2:30 AM
I checked what you pointed.
But in my enviroment,only a subject and attachment mail could receive correctly.

Please show me the text data of the mail,such as...
+OK <>
pass blah_blah
Retr 8
+OK 30615 octets
Received: (qmail 30725 invoked from network); 23 Jul 2008 17:23:57 -0000
Received: from unknown (HELO ([])

I want to debug with it.