• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

EmailSender.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 #include "NativeFeatureIncludes.h"
00009 #if _RAKNET_SUPPORT_EmailSender==1
00010 
00011 #ifndef __EMAIL_SENDER_H
00012 #define __EMAIL_SENDER_H
00013 
00014 class FileList;
00015 class TCPInterface;
00016 #include "RakNetTypes.h"
00017 #include "RakMemoryOverride.h"
00018 
00020 class EmailSender
00021 {
00022 public:
00036         const char *Send(const char *hostAddress, unsigned short hostPort, const char *sender, const char *recipient, const char *senderName, const char *recipientName, const char *subject, const char *body, FileList *attachedFiles, bool doPrintf, const char *password);
00037 
00038         // \brief Returns how many bytes were written.
00039         int Base64Encoding(const char *inputData, int dataLength, char *outputData, const char *base64Map);
00040 protected:
00041         const char *GetResponse(TCPInterface *tcpInterface, const SystemAddress &emailServer, bool doPrintf);
00042 };
00043 
00044 #endif
00045 
00046 
00047 #endif // _RAKNET_SUPPORT_*

Generated on Thu Sep 30 2010 01:27:23 for RakNet by  doxygen 1.7.1