[twsocket] Mime decoding

2006-06-28 Thread Jon Rowlan
I sent a mail a few days ago regarding intepretation of Mime mails and
attachments.

I am not sure that the mail got through as I have not seen my mail
bounced on to me.

Can someone confirm whether that was the case?

Thanks,

jON
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Mime decoding

2006-06-28 Thread DZ-Jay
Hello:
I don't see anything recently in the list about MIME. What was the 
subject line?  In any case, perhaps you should repost.

dZ.

On Jun 28, 2006, at 05:21, Jon Rowlan wrote:

 I sent a mail a few days ago regarding intepretation of Mime mails and
 attachments.

 I am not sure that the mail got through as I have not seen my mail
 bounced on to me.

 Can someone confirm whether that was the case?

 Thanks,

 jON
 -- 
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] Mime decoding

2006-06-28 Thread Jon Rowlan
I have searched the FAQ and Archives 
 
I am trying to extract just the attachments from mail messages in a POP3
mailbox.
 
Having tested two emails I am confused.
 
Both have a single attachment, one is a PDF file and appears to be quite
clearly identified with a Disposition=attachment indicator, the other
however is a forwarded mail.
 
In Outlook this appears as an attachment but there is no
disposition=attachment to suggest that its an attachment.
 
From what I am reading, there is no straight forward way to identify an
attachment  but surely there must be
 
Is the attachment perhaps available as a property of the Pop3 control?
 
jON
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Mime decoding

2006-06-28 Thread Arno Garrels
Jon Rowlan wrote:
 I have searched the FAQ and Archives 
 
 I am trying to extract just the attachments from mail messages in a
 POP3 mailbox.

Use TMimeDec to decode the message. A demo program is available in
directory ICS-Root/Delphi/Internet. 
 
 Having tested two emails I am confused.
 
 Both have a single attachment, one is a PDF file and appears to be
 quite clearly identified with a Disposition=attachment indicator,
 the other however is a forwarded mail.
 
 In Outlook this appears as an attachment but there is no
 disposition=attachment to suggest that its an attachment.

A file attachment can be identified if it has either the filename or
the name property or both assigned in its part header:

Content-Type: application/x-zip-compressed;
 name=my.zip
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename=my.zip


---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be