Search The ForumSearch   RegisterRegister  LoginLogin

MailBee POP3

 AfterLogic Forum : MailBee POP3
Subject Topic: i need the src="cid ( number ) Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
peberhardt
Newbie
Newbie


Joined: 05 October 2008
Location: Germany
Online Status: Offline
Posts: 3
Posted: 05 October 2008 at 3:40pm | IP Logged Quote peberhardt

Hello,

i testing your pop3 in delphi.
i recived a html message with pictures into the body.
i store the html code in a mysql database.
i have this src="cid:image001.jpg@01C92748.59105160"
in my html code.

( i liked replace "cid:image001.jpg@01C92748.59105160"
to ="c:/image001.jpg")

i need the cid code (01C92748.59105160)
example: objMsg.Attachments.Item.cidcode
it is posible?

best regards
Peter

PS. soory for my bad english

Back to Top View peberhardt's Profile Search for other posts by peberhardt
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 5471
Posted: 06 October 2008 at 2:30am | IP Logged Quote Igor

You may access CID information using PureContentID property of Attachment object which is objMsg.Attachments.Item in your case.

GetBodyWithEmbeddedObjects method of POP3 object would allow you to save embedded objects to location of your choice so that URLs in HTML message are automatically replaced with ones pointing to locations files are saved to.

Regards,
Igor.
Back to Top View Igor's Profile Search for other posts by Igor
 
peberhardt
Newbie
Newbie


Joined: 05 October 2008
Location: Germany
Online Status: Offline
Posts: 3
Posted: 06 October 2008 at 7:36am | IP Logged Quote peberhardt

thank you for your fast answering.

the objMsg.FromAddr give me

firstname lastname <ryxxxsa@gmx.net>

how i became only ryxxxsa@gmx.net ?

best regards
Peter
Back to Top View peberhardt's Profile Search for other posts by peberhardt
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2145
Posted: 06 October 2008 at 8:06am | IP Logged Quote Alex

It's objMsg.PureFromAddr

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 

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