Using Win32 functions in Visual FoxPro Image Gallery
Simple MAPI
..msdn
MAPIAddress
MAPIFindNext
MAPIFreeBuffer
MAPILogoff
MAPILogon
MAPIReadMail
MAPIResolveName
MAPISendDocuments
MAPISendMail
Code examples:
MapiSendMail class for Visual FoxPro application
Sending email messages with Simple MAPI
MAPISendMail
..msdn    Add comment     W32 Constants      Translate this page
The MAPISendMail function sends a message.
Code examples:
Sending email messages with Simple MAPI
MapiSendMail class for Visual FoxPro application
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:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-11-14 18:56:44
Modified: 2001-11-26 16:03:59
Visited in last 7 days: 39
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2014 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.1.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.242.200.172)
3 day(s)Example: 'Creating the Save dialog box to specify the drive, directory, and name of a file to save'
Google
Advertise here!