Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / ACE / examples / APG / Naming / EMail.h
blob5a40b26d9adc77145e6b236277195ddabcd9f8d3
1 #ifndef EMAIL_H
2 #define EMAIL_H
4 #include "ace/Log_Msg.h"
6 class EMail
8 public:
9 EMail()
10 { }
12 int send (const char *to,
13 const char *from,
14 const char *subject,
15 const char *message)
17 ACE_DEBUG ((LM_ERROR, ACE_TEXT ("To:\t%s\n"), to));
18 ACE_DEBUG ((LM_ERROR, ACE_TEXT ("From:\t%s\n"), from));
19 ACE_DEBUG ((LM_ERROR, ACE_TEXT ("Subject:\t%s\n"), subject));
20 ACE_DEBUG ((LM_ERROR, ACE_TEXT ("\n%s\n"), message));
22 return 0;
26 #endif /* EMAIL_H */