Search The ForumSearch   RegisterRegister  LoginLogin

MailBee POP3

 AfterLogic Forum : MailBee POP3
Subject Topic: How to detect inline-images Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
John Muller
Newbie
Newbie


Joined: 18 October 2009
Online Status: Offline
Posts: 5
Posted: 18 October 2009 at 7:30am | IP Logged Quote John Muller

Hi,

I am just evaluating your components. Coming
from Indy I had some decoding problems which I
don't see here. :) Looks very good!
A question: How can I detect if a html-message
has inline-images or not? Have I to parse the
body manually to find CID:?

Or is there a simpler way I missed?

Thanks. John
Back to Top View John Muller's Profile Search for other posts by John Muller
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 5471
Posted: 18 October 2009 at 11:54am | IP Logged Quote Igor

Yes, there's a simpler way indeed, you'll just need to download a message and iterate through its Attachments collection checking IsInline property of each attachment:
Code:
For Each objAttach In objMsg.Attachments
  If objAttach.IsInline Then
    ...


--
Regards,
Igor, AfterLogic Support


Back to Top View Igor's Profile Search for other posts by Igor
 
John Muller
Newbie
Newbie


Joined: 18 October 2009
Online Status: Offline
Posts: 5
Posted: 19 October 2009 at 12:53am | IP Logged Quote John Muller

Great. Thank you.

Regards John
Back to Top View John Muller's Profile Search for other posts by John Muller
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide