Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using MAPISendMail
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Using MAPISendMail
Miscellaneous
Thread ID:
00650809
Message ID:
00650809
Views:
57
Hi everybody.

I need send mails using the "MAPISendMail" function, but the example that I have, doesn't work with file attachments.

The next example works without attachments
...
lcMapiMessage = num2dword(0) +; 
        num2dword(loSubject.getAddr()) +; 
        num2dword(loNoteText.getAddr()) +; 
        num2dword(0) + num2dword(0) + num2dword(0) + num2dword(0) +; 
        num2dword(loSndBuf.getAddr()) +; 
        num2dword(1) +; 
        num2dword(loRcpBuf.getAddr()) +; 
        num2dword(0) + num2dword(0) 
lnResult = MAPISendMail(hSession, 0, @lcMapiMessage, MAPI_DIALOG, 0) 
...
Somebody could give me to an example using the functions MAPISendMail and MAPISendDocuments together ?

Thanks.

Ricardo._
Next
Reply
Map
View

Click here to load this message in the networking platform