- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages

- File List
- File Members

# CEmail.hpp

Go to the documentation of this file.

    00001 #ifndef __CEmail__
    00002 #define __CEmail__
    00003
    00004 #include "../Basics/CString.hpp"
    00005 #include "../Collections/TCountedPointerArray.hpp"
    00006 #include "CFileInformation.hpp"
    00007
    00008 using Exponent::Collections::TCountedPointerArray;
    00009 using Exponent::Basics::CString;
    00010 using Exponent::Host::CFileInformation;
    00011
    00012 //  ===========================================================================
    00013
    00014 namespace Exponent
    00015 {
    00016     namespace Host
    00017     {
    00035         class CEmail
    00036         {
    00037         public:
    00038
    00039 //  ===========================================================================
    00040
    00055             struct SEmailDescription
    00056             {
    00057                 CString m_recipient;
    00058                 CString m_recipientDisplayName;
    00059                 CString m_subject;
    00060                 CString m_messageBody;
    00061                 TCountedPointerArray<CFileInformation> m_attatchments;
    00062                 bool m_sendAutomatically;
    00063             };
    00064
    00070             static bool sendEmail(const SEmailDescription &email);
    00071
    00072
    00073         };
    00074     }
    00075 }
    00076 #endif  // End of CEmail.hpp