My question deals with using the Simple MAPI function,
MAPISendMail in Visual C++ 5.0. Within the MapiMessage struct
there is the following member;
lpMapiFileDesc - Pointer to an array of MapiFileDesc structures,
each containing information about a file attachment.
Within the MapiFileDesc there is the following pointer,
lpFileType - Pointer to the attachment file type,
which can be represented with a MapiFileTagExt structure.
Within the MapiFileTagExt struct there are the following members;
cbTag - The size, in bytes, of the value defined by the lpTag member.
lpTag - Pointer to an X.400 object identifier indicating the type of the attachment
in its original form, for example "Microsoft Excel worksheet".
cbEncoding - The size, in bytes, of the value defined by the lpEncoding member.
lpEncoding - Pointer to an X.400 object identifier indicating the form in which
the attachment is currently encoded, for example MacBinary, UUENCODE, or binary.
Now my question, where do I find the values/data for the above.
These are X.400 Object IDs or OIDs. I need an example on for
attaching a standard .txt file that can be viewed in
Notepad. My attachment is unreadalbe when opened from a browser.