... of having Outlook show the address book? You could do the whole message (including To, CC, BCC ) with a FWH dialog then just send the message via MAPI. This would give you complete control. You could provide a list of contacts either from your own FW database or from the Outlook address book via ...
... #define olFolderInbox 6 FUNCTION MAIN() LOCAL oOutlook := CREATEOBJECT( "Outlook.Application" ) LOCAL oNameSpace := oOutlook:GetNameSpace("MAPI") LOCAL oInbox := oNameSpace:GetDefaultFolder( olFolderInbox ) LOCAL i FOR i = 1 TO oInbox:Items:Count ? oInbox:Items[ i ]:Body ? NEXT oOutlook:Quit() ...
Code complete: // FiveWin OLE support demo // Using Microsoft MAPI Control // By Rochinha - Brazil #include "FiveWin.ch" #define SESSION_SIGNON 1 #define MESSAGE_COMPOSE 6 #define ATTACHTYPE_DATA 0 #define RECIPTYPE_TO 1 #define RECIPTYPE_CC ...
It's nothing major. The default behaviour of the list of recipients for MapiSendMail, is to use the first one as the to address, and the rest as cc recipients.
If you recompile mapi.c with KOCUM defined, each recipient array gets a third element specifying type (to, cc or bcc)
Hi, I'm trying to recompile mapi.c to use the extensions from Michael Kocum using xHarbour builder (#define KOCUM), but can't seem to get it to compile, do to function definition clashes xcc.exe -Fo"xobj\mapi.obj" -D __HARBOUR__ -D __FLAT__ ...
If the attachment file is html (has a .htm or .html extension) and you do not specify any TEXT (a message) then the file will appear in the message area.
... // From { cTo, cFrom },; // To cText ,; // Msg Text cAsunto ,; // Subject { cAdjunto } ) // attached files Via OutLook ( o MAPI ) DEFINE MAIL oMail ; SUBJECT cAsunto ; TEXT cText ; FROM USER ; FILES cAdjunto, cFile ; TO cTo ; RECEIPT ACTIVATE MAIL oMail Saludos
... uso de ActiveX en Windows, hay algo similar para OSX, ? De momento no lo sabemos. > 4.- Los usos como de las dll's de windows como son sockets,mapi, ftp;s, etc,etc , cuales son las contrapartes en OSX ? > Estamos estudiando toda la información posible de OSX. En cuanto vayamos descubriendo ...
... trae vs xharbour ? 3.- El uso de ActiveX en Windows, hay algo similar para OSX, ? 4.- Los usos como de las dll's de windows como son sockets,mapi, ftp;s, etc,etc , cuales son las contrapartes en OSX ? Por utimo .... Felicidades y como siempre, a probar estos productos. Saludos Osvaldo Ramirez
Amiguinho If Incredimail use MAPI you can try this: local oMail DEFINE MAIL oMail ; SUBJECT "FiveWin Mail-control power" ; FILES "c:\test.doc", "test.doc"; TEXT "This is real xBase power at ...
... But if I generate a message from FWH with the RECEIPT clause the message does not contain the line. So, there is either a bug in MAPI, OE, or in FW's mapi.c module. Antonio, any ideas? James
... message. Once you fix the Outlook bug, then maybe this will be solved too. If you have another computer around you might try tesing the Fivewin MAPI email code on it too. James