PR_ATTACH_PATHNAME
The
PR_ATTACH_PATHNAME property contains an attachment s fully qualified path and
filename.
Quick Info
Header
file: |
MAPITAGS.H |
May be
exposed by: |
Attachment
subobjects |
Identifier: |
0x3708 |
Property
type: |
PT_TSTRING |
Property
tag: |
0x3708001E
(0x3708001F for Unicode) |
Remarks
It is
recommended that attachment subobjects expose the PR_ATTACH_PATHNAME property.
Setting PR_ATTACH_PATHNAME indicates that the attachment data is not included
with the message but is available on a common file server. PR_ATTACH_PATHNAME
is required in conjunction with any of the PR_ATTACH_METHOD
Each
directory or filename is restricted to an eight-character name plus a
three-character extension. The overall path is restricted to 256 characters.
For a platform that supports long filenames, set both the PR_ATTACH_PATHNAME
and PR_ATTACH_LONG_PATHNAME
Client
applications should use a Universal Naming Convention (UNC) in most cases when
the file is shared, and should use an absolute path when the file is local and
in some shared cases, such as with NetWare.
MAPI works
only with paths, filenames, and other strings passed to it in the ANSI
character set. Clients that use paths and filenames in an OEM character set
must convert them to ANSI before calling MAPI.
See Also
ScLocalPathFromUNC, ScUNCFromLocalPath3PYG0X