MAPIReadMail (mapi32)
Last changed: consultants@russte.com-69.76.127.174

.
Summary
MAPIReadMail - Retrieves a message for reading.

C# Signature:

  /// <summary>
  /// The MAPIReadMail function retrieves a message for reading.
  /// </summary>
  [DllImport("MAPI32.DLL", CharSet=CharSet.Ansi)]
  public static extern uint MAPIReadMail(IntPtr lhSession, IntPtr ulUIParam, string lpszMessageID,
    uint flFlags, uint ulReserved, ref IntPtr lppMessage);

VB Signature:

  Please add!

User-Defined Structures:

MAPI

User-Defined Constants:

MAPI

Notes:

If you retrieve a message with one or more attachments, you may be responsible for deleting the attachments' temporary files.

Microsoft does not condone or support using this API from managed code:

http://support.microsoft.com/kb/872895

http://support.microsoft.com/kb/813349

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation