00001 #ifndef DIRECTMXLART_H
00002 #define DIRECTMXLART_H
00003
00004 #include "Abuse/Url.h"
00005 #include <stdexcept>
00006 #include "Lart.h"
00007 #include "PropertyBag.h"
00008 #include "Utils.h"
00009 #include "resource.h"
00010
00011 class DirectMXLart: public Lart
00012 {
00013 public:
00014 DirectMXLart(const PropertyBag& prop,HWND hFather);
00015 virtual ~DirectMXLart();
00016 protected:
00017 virtual std::list<AbuseDesks> filterLarts(std::list<AbuseDesks>& lst,bool& bCanceled,std::string uce,std::string analysis)throw(std::runtime_error);
00018 virtual void sendLart(const std::list<std::string>& dest,const std::string& subj,const std::string& text)const throw(std::runtime_error);
00019 private:
00020 std::string m_mailserver;
00021 std::string m_email;
00022 std::string m_ccemail;
00023 std::string deductMailserver();
00024
00025 };
00026 #endif