 |
MAPISendMail ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The MAPISendMail function sends a message. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
ULONG FAR PASCAL MAPISendMail(
LHANDLE lhSession,
ULONG ulUIParam,
lpMapiMessage lpMessage,
FLAGS flFlags,
ULONG ulReserved
)
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER MAPISendMail IN mapi32;
INTEGER lhSession,;
INTEGER ulUIParam,;
STRING @ lpMessage,;
INTEGER flFlags,;
INTEGER ulReserved
|
 |
 |
 |
| Parameters: |
 |
lhSession
[in] Handle to a Simple MAPI session or zero. If the value of the lhSession parameter is zero, MAPI logs on the user and creates a session that exists only for the duration of the call.
ulUIParam
[in] Parent window handle or zero, indicating that if a dialog box is displayed, it is application modal.
lpMessage
[in] Pointer to a MapiMessage structure containing the message to be sent.
flFlags
[in] Bitmask of option flags.
ulReserved
Reserved; must be zero. |
 |
 |
| Return value: |
 |
| Returns SUCCESS_SUCCESS (0) if the call succeeded and the message was sent; or a predefined MESSAGE_E_* error value otherwise. |
 |
 |
| My comment: |
 |
| A successful return from MAPISendMail does not necessarily imply recipient validation. |
 |
 |
| Word Index links for the MAPISendMail : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-11-14 18:56:44 | | Modified: | 2001-11-26 16:03:59 | Visited in last 7 days: 20 |