MeVisLabToolboxReference
MeVis/Foundation/Sources/OSXSupport/macMailBridge.h
Go to the documentation of this file.
00001 // **InsertLicense** code author="Felix Ritter" version="1.0"
00002 
00006 
00007 #ifndef __macMailBridge_H
00008 #define __macMailBridge_H
00009 #if defined(__APPLE__)
00010 
00011 #include <string>
00012 
00013 namespace macx {
00014   
00016   class MailBridge
00017   {
00018   public:
00019       
00021     static bool createMessage(const std::string &from, const std::string &to, const std::string &cc, const std::string &subject, const std::string &message, const std::string &attachment = std::string());
00022     
00024     static bool sendMessage(const std::string &from, const std::string &to, const std::string &cc, const std::string &subject, const std::string &message, const std::string &attachment = std::string());
00025   };
00026 
00027 }
00028 
00029 #endif  // __APPLE__
00030 #endif  // __macMailBridge_H