]>
git.saurik.com Git - wxWidgets.git/blob - contrib/include/wx/net/smapi.h
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 /////////////////////////////////////////////////////////////////////////////
12 #if defined(__GNUG__) && !defined(__APPLE__)
13 #pragma interface "smapi.h"
19 #include "wx/net/msg.h"
23 //The class which encapsulates the MAPI connection
27 //Constructors / Destructors
31 //Logon / Logoff Methods
32 bool Logon(const wxString
& sProfileName
, const wxString
& sPassword
= wxEmptyString
, wxWindow
* pParentWnd
= NULL
);
33 bool LoggedOn() const;
37 bool Send(wxMailMessage
& message
);
39 //General MAPI support
40 bool MapiInstalled() const;
43 long GetLastError() const;
49 bool Resolve(const wxString
& sName
, void* lppRecip1
);