13 #include "wxgis/net/net.h" 
   14 #include "wxgis/net/message.h" 
   16 #include "wxgisdefs.h" 
   18 #ifdef wxGIS_USE_EMAIL 
   23     #include <w32api/mapi.h> 
   36         m_lpfnMAPILogon = NULL;
 
   37         m_lpfnMAPILogoff = NULL;
 
   38         m_lpfnMAPISendMail = NULL;
 
   39         m_lpfnMAPIResolveName = NULL;
 
   40         m_lpfnMAPIFreeBuffer = NULL;
 
   47     LPMAPILOGON         m_lpfnMAPILogon; 
 
   48     LPMAPILOGOFF        m_lpfnMAPILogoff; 
 
   49     LPMAPISENDMAIL      m_lpfnMAPISendMail; 
 
   50     LPMAPIRESOLVENAME   m_lpfnMAPIResolveName; 
 
   51     LPMAPIFREEBUFFER    m_lpfnMAPIFreeBuffer; 
 
   64     bool Logon(
const wxString& sProfileName, 
const wxString& sPassword = wxEmptyString, wxWindow* pParentWnd = NULL);
 
   65     bool LoggedOn() 
const;
 
   69     bool Send(
const wxMailMessage& message);
 
   72     bool MapiInstalled() 
const;
 
   75     long GetLastError() 
const;
 
   87 #endif //wxGIS_USE_EMAIL