Login  
Search All Forums
Dart Home | PowerTCP Mail for ActiveX | Custom Development Reply | PowerTCP Mail for ActiveX Topics | Forums   
AuthorForum: PowerTCP Mail for ActiveX
Topic: Pop attachment size
lkattis
lkattis@hotmail.com

From: Athens, Greece
Posts: 1
Member Since: 09/24/02
posted September 24, 2002 4:49 AM

Probably a simple question... I am using pop to connect and get messages. I use attachdir = "" so the attachments are not saved on disk.

I then store the attachments in a database. How can I get the size of the attachments in order to save it in the database as well??

ps I am using vb

Thank you
Jon Belanger



From: Rome, NY USA
Posts: 310
Member Since: 06/10/02
posted September 24, 2002 8:35 AM

You could get the Len() of the Part.Data property. The attachment, if not saved to disk, is stored in the Messages.Parts or Messages.PartList property of the POP control. PartList is a non-hierarchical collection of Part objects, Parts is a little more complicated, but can contain collections of parts, which contain parts themselves.

-Jon
Reply | PowerTCP Mail for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX