1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Simple MAPI classes
4 // Author: PJ Naughter <pjna@naughter.com>
5 // Modified by: Julian Smart
8 // Copyright: (c) PJ Naughter
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
15 #include "wx/net/msg.h"
17 class WXDLLIMPEXP_NETUTILS wxMapiData
;
19 //The class which encapsulates the MAPI connection
20 class WXDLLIMPEXP_NETUTILS wxMapiSession
23 //Constructors / Destructors
27 //Logon / Logoff Methods
28 bool Logon(const wxString
& sProfileName
, const wxString
& sPassword
= wxEmptyString
, wxWindow
* pParentWnd
= NULL
);
29 bool LoggedOn() const;
33 bool Send(wxMailMessage
& message
);
35 //General MAPI support
36 bool MapiInstalled() const;
39 long GetLastError() const;
45 bool Resolve(const wxString
& sName
, void* lppRecip1
);