Using Win32 functions in Visual FoxPro Image Gallery
Simple MAPI
..msdn
MAPIAddress
MAPIFindNext
MAPIFreeBuffer
MAPILogoff
MAPILogon
MAPIReadMail
MAPIResolveName
MAPISendDocuments
MAPISendMail
Code examples:
Sending a standard message with one or more attached files using default email client
MAPISendDocuments
..msdn    Add comment     W32 Constants      Translate this page
The MAPISendDocuments function sends a standard message with one or more attached files and a cover note.
Code examples:
Sending a standard message with one or more attached files using default email client
Declaration:
ULONG FAR PASCAL MAPISendDocuments(
  ULONG ulUIParam,        
  LPTSTR lpszDelimChar,   
  LPTSTR lpszFullPaths,   
  LPTSTR lpszFileNames,   
  ULONG ulReserved        
)
FoxPro declaration:
DECLARE INTEGER MAPISendDocuments IN mapi32;
    INTEGER ulUIParam,;
    STRING  lpszDelimChar,;
    STRING  lpszFullPaths,;
    STRING  lpszFileNames,;
    INTEGER ulReserved
Parameters:
ulUIParam
[in] Parent window handle or zero, indicating that if a dialog box is displayed, it is application modal.

lpszDelimChar
[in] Pointer to a character that the caller uses to delimit the names pointed to by the lpszFullPaths and lpszFileNames parameters.

lpszFullPaths
[in] Pointer to a string containing a list of full paths (including drive letters) to attachment files.

lpszFileNames
[in] Pointer to a null-terminated list of the original filenames as they should appear in the message.

ulReserved
Reserved; must be zero.
Return value:
If the call succeeded and the message was sent the function returns SUCCESS_SUCCESS, otherwise this is an error code.
Word Index links for the MAPISendDocuments :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-02-04 21:53:31
Modified: 2002-02-04 21:56:26
Visited in last 7 days: 11
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.161.191.254)
2 day(s)Function: 'FreeEnvironmentStrings'
Function group: 'Process and Thread'
 Function: 'JetEndSession'
 Function: 'waveOutUnprepareHeader'
Function group: 'Windows Multimedia'
 Function: 'CreateFile'
 Function: 'CreateWindow'
Function group: 'Window'
Google
Advertise here!