QMail.hh

Go to the documentation of this file.
00001 
00017 #ifndef __QMAIL_HH_
00018 #define __QMAIL_HH_
00019 
00020 #include <utility>
00021 #include <iostream>
00022 #include <string>
00023 #include <vector>
00024 
00025 
00026 class QMail {
00027         public:
00031       QMail();
00032                 
00037                 QMail(const QMail& orig);
00038                 
00045                 QMail(std::string Recipient, std::string Subject, std::string Message);
00046 
00050                 virtual ~QMail() {};
00051                 
00056                 int Send();
00057                 
00062                 void SetSubject(std::string Subject) {fSubject = Subject;};
00063                 
00068                 void SetMessage(std::string Message) {fMessage = Message;};
00069                 
00074                 void AppendToMessage(std::string Text) {fMessage += Text;};
00075                 
00081                 int AddRecipient(std::string Recipient);
00082                 
00083 
00084 
00085         private:
00087                 std::vector< std::string > fRecipients;
00088                 
00090                 std::string fSubject;
00091                 
00093                 std::string fMessage;
00094 
00095 };
00096 
00097 #endif

Generated on Tue Nov 16 10:49:56 2010 for CUORE Software by  doxygen 1.5.6