Author |
|
peberhardt Newbie
Joined: 05 October 2008 Location: Germany
Online Status: Offline Posts: 3
|
Posted: 05 October 2008 at 3:40pm | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 06 October 2008 at 2:30am | IP Logged
|
|
|
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 |
|
|
peberhardt Newbie
Joined: 05 October 2008 Location: Germany
Online Status: Offline Posts: 3
|
Posted: 06 October 2008 at 7:36am | IP Logged
|
|
|
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 |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 06 October 2008 at 8:06am | IP Logged
|
|
|
It's objMsg.PureFromAddr
Regards,
Alex
|
Back to Top |
|
|