LazyMAPI

TMAPIAttachment - represents a MAPI IAttach object.
Delphi wrapper for IAttach

Unit: MAPIProperty.pas
Type: Class
Inherited from: TMAPIProperty

Properties

Name Access Type Description MAPI Reference
AccessLevel RO ULONG The AccessLevel property indicates the client's access level to the object. PR_ACCESS
CreationTime RO TDateTime Contains the creation date and time. PR_CREATION_TIME
LastModificationTime RO TDateTime Contains the date and time when the object was last modified. PR_LAST_MODIFICATION_TIME
StoreID RO TBytes Contains the unique entry identifier of the message store. PR_STORE_ENTRYID
StoreSupportMask RO ULONG There is a property present on message objects which indicates what the store supports, and also what that object supports. PR_STORE_SUPPORT_MASK
AttachmentID RO Integer Contains a number that uniquely identifies the attachment within its parent message. PR_ATTACH_NUM
AttachFlags RO Integer Contains a bitmask of flags for an attachment. PR_ATTACH_FLAGS
AttachTag RO TBytes Contains an ASN.1 object identifier specifying the application that supplied an attachment. PR_ATTACH_TAG
DisplayName RW WideString Contains the display name for a given MAPI object. PR_DISPLAY_NAME, PR_ATTACH_LONG_FILENAME, PR_ATTACH_FILENAME
FileName RO WideString Contains an attachment's base file name and extension, excluding path. PR_ATTACH_LONG_FILENAME, PR_ATTACH_FILENAME
FileNameExtension RO WideString Contains a file name extension that indicates the document type of an attachment. PR_ATTACH_EXTENSION
MimeType RO WideString Contains formatting information about a Multipurpose Internet Mail Extensions (MIME) attachment. PR_ATTACH_MIME_TAG
MimeSequence RO Integer Contains the MIME sequence number of a MIME message attachment. PR_ATTACH_MIME_SEQUENCE
MimeContentBase RO WideString Contains the content base header of a Multipurpose Internet Mail Extensions (MIME) message attachment. PR_ATTACH_CONTENT_BASE
MimeContentLocation RO WideString Contains the content location header of a Multipurpose Internet Mail Extensions (MIME) message attachment. PR_ATTACH_CONTENT_LOCATION
MimeContentID RO WideString Contains the content identification header of a Multipurpose Internet Mail Extensions (MIME) message attachment. PR_ATTACH_CONTENT_ID
Size RO ULONG Contains the sum, in bytes, of the sizes of all properties on an attachment. PR_ATTACH_SIZE
Method RW TAttMethod Representing the way the contents of an attachment can be accessed. PR_ATTACH_METHOD
IsHidden RW Boolean Indicates whether an attachment is hidden from the end user. PR_ATTACHMENT_HIDDEN
RenderingPosition RO Integer Contains an offset, in characters, to use in rendering an attachment within the main message text. PR_RENDERING_POSITION

Properties inherited from TMAPIProperty

Name Access Type Description MAPI Reference
Active RW Boolean Open/Close the MAPI object.  
ID RO TBytes The ID property returns the unique identifier of the MAPI object. PR_ENTRYID
MAPIObjType RO TMAPIObjType The MAPIObjType property indicates the type of MAPI object. PR_OBJECT_TYPE
MAPIObject RO IMAPIProp Returns native MAPI IMAPIProp interfaced object.  
Properties RO TMAPIPropFields Returns one or all of the fields associated with a MAPI Property object. Each field typically corresponds to a MAPI property.  

Methods

Name Description
SaveToStream Save attachment content to TStream.
SaveToFile Save attachment content to file.
LoadFromStream Load (set) attachment content from TStream.
LoadFromFile Load (set) attachment content from file.

Top


Copyright © 2012 IMIBO
Privacy Statement