Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

MapiDialog.cpp File Reference

#include <abuse/winostream.h>
#include <abuse/Utils.h>
#include "utils.h"
#include "resource.h"
#include "messages.h"
#include "AnFbImpl.h"
#include "DirectMXLart.h"
#include "PropertyPages.h"
#include "MapiDialog.h"
#include "LocateUrlInHtml.h"

Classes

struct  mapi_TMsgInfo

Functions

BOOL CALLBACK MapiDialogProc (HWND hDlg, UINT uMsg, WPARAM wP, LPARAM lP)
void fetchAllMessageStores ()
void fetchDefaultMsgStoreFolders (HWND hwnd, HWND hCombo)
void fetchFolders (HWND hwnd, string &profile, string &storename)
void getFolderName (DWORD idFolder, string &folderName, IMAPIFolder *&imFolder)
void buildFolderMsgList (DWORD iResult)
void buildMsgList (IMAPIFolder *ifolder, list< mapi_TMsgInfo > *msgs)
string getNextMsg (IMAPIFolder *ifolder, list< mapi_TMsgInfo > &msgs, HWND hwnd, HWND hSpamURL)
string getMsgBody (IMessage *imsg, string &strURL)
void populateCombo (HWND hCombo, const char *strItem, DWORD dwItem)
bool sendTheLart (HWND hDlg, const string &uce, const std::list< AbuseDesks > &origlst, const PropertyBag &prop, string &results)
const string getStringProp (ULONG ulPropTag, IMessage *imsg)
const string getDateProp (ULONG ulPropTag, IMessage *imsg)
void fetchMsgStoreFolders (HWND hwnd, int index)
void removeMsg (IMAPIFolder *ifolder, mapi_TEntryid &eid)
void moveMsg (IMAPIFolder *ifolder, IMAPIFolder *toFolder, mapi_TEntryid &eid)
void displayErrorStats (HWND hWnd)
void doMapiDialogProc (HWND hParent, int DlgTemplate, const PropertyBag &prop, int mOption, std::string &MsgFolderName, std::string &RetryFolderName)

Variables

string strSOB = "\r\n--- Start Of Email Body ---\r\n"
list< mapi_TMsgInfom_msgEIDs
static std::list< AbuseDesks > abuseList
bool AvailableOffline
HINSTANCE hInstance
HWND hComboS
HWND hComboF
HWND hComboR
HWND m_hParent
IMAPIFolder * m_selFolder
IMAPIFolder * m_wasteBasket
IMAPIFolder * m_retryFolder
const PropertyBagm_prop
ULONG m_mapiFlags = MFLG_DELETE_MSGS|MFLG_MOVE_MSGS
int m_option
int m_startup
int m_msgCnt
int m_msgRetryCnt
int m_MsgFolderIndex
int m_RetryIndex
bool m_enableRetryFolder
string m_MsgFolderName
string m_RetryFolderName
struct {
   int   cntAnalyzed
   int   cntEmpty
   int   cntLocalCopy
   int   cntBodyText
   int   cntBodyHtml
   int   cntBodyRTF
   int   lenHtml
   int   cntNoHeader
   int   cntNoMem
   int   internalErr1
   int   internalErr2
   int   internalErr3
   int   internalErr4
   int   noResults
   int   noContacts
   int   badRetryFolder
   int   notLartedKept
   int   errMove
   int   errRemove
   int   errBodyText
   int   errBodyHtml
   int   errBodyRTF
   HRESULT   hrBodyTxt
   HRESULT   hrBodyHtml
   HRESULT   hrBodyRTF
   HRESULT   hrMoveErr
   HRESULT   hrRemoveErr
errorInfo

Function Documentation

void buildFolderMsgList DWORD  iResult  ) 
 

void buildMsgList IMAPIFolder *  ifolder,
list< mapi_TMsgInfo > *  msgs
 

void displayErrorStats HWND  hWnd  ) 
 

void doMapiDialogProc HWND  hParent,
int  DlgTemplate,
const PropertyBag prop,
int  mOption,
std::string &  MsgFolderName,
std::string &  RetryFolderName
 

void fetchAllMessageStores  ) 
 

void fetchDefaultMsgStoreFolders HWND  hwnd,
HWND  hCombo
 

void fetchFolders HWND  hwnd,
string &  profile,
string &  storename
 

void fetchMsgStoreFolders HWND  hwnd,
int  index
 

const std::string getDateProp ULONG  ulPropTag,
IMessage *  imsg
 

void getFolderName DWORD  idFolder,
string &  folderName,
IMAPIFolder *&  imFolder
 

string getMsgBody IMessage *  imsg,
string &  strURL
 

string getNextMsg IMAPIFolder *  ifolder,
list< mapi_TMsgInfo > &  msgs,
HWND  hwnd,
HWND  hSpamURL
 

const std::string getStringProp ULONG  ulPropTag,
IMessage *  imsg
 

BOOL CALLBACK MapiDialogProc HWND  hDlg,
UINT  uMsg,
WPARAM  wP,
LPARAM  lP
 

void moveMsg IMAPIFolder *  ifolder,
IMAPIFolder *  toFolder,
mapi_TEntryid eid
 

void populateCombo HWND  hCombo,
const char *  strItem,
DWORD  dwItem
 

void removeMsg IMAPIFolder *  ifolder,
mapi_TEntryid eid
 

bool sendTheLart HWND  hDlg,
const string &  uce,
const std::list< AbuseDesks > &  origlst,
const PropertyBag prop,
string &  results
 


Variable Documentation

std::list<AbuseDesks> abuseList [static]
 

bool AvailableOffline
 

int badRetryFolder
 

int cntAnalyzed
 

int cntBodyHtml
 

int cntBodyRTF
 

int cntBodyText
 

int cntEmpty
 

int cntLocalCopy
 

int cntNoHeader
 

int cntNoMem
 

int errBodyHtml
 

int errBodyRTF
 

int errBodyText
 

int errMove
 

struct { ... } errorInfo
 

int errRemove
 

HWND hComboF
 

HWND hComboR
 

HWND hComboS
 

HINSTANCE hInstance
 

HRESULT hrBodyHtml
 

HRESULT hrBodyRTF
 

HRESULT hrBodyTxt
 

HRESULT hrMoveErr
 

HRESULT hrRemoveErr
 

int internalErr1
 

int internalErr2
 

int internalErr3
 

int internalErr4
 

int lenHtml
 

bool m_enableRetryFolder
 

HWND m_hParent
 

ULONG m_mapiFlags = MFLG_DELETE_MSGS|MFLG_MOVE_MSGS
 

int m_msgCnt
 

list<mapi_TMsgInfo> m_msgEIDs
 

int m_MsgFolderIndex
 

string m_MsgFolderName
 

int m_msgRetryCnt
 

int m_option
 

const PropertyBag* m_prop
 

IMAPIFolder* m_retryFolder
 

string m_RetryFolderName
 

int m_RetryIndex
 

IMAPIFolder* m_selFolder
 

int m_startup
 

IMAPIFolder* m_wasteBasket
 

int noContacts
 

int noResults
 

int notLartedKept
 

string strSOB = "\r\n--- Start Of Email Body ---\r\n"
 


Generated on Thu Jun 16 00:13:25 2005 for Abuse! by  doxygen 1.4.3