home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wxos2240.zip / wxWindows-2.4.0 / contrib / include / wx / net / email.h next >
C/C++ Source or Header  |  2002-09-07  |  1KB  |  45 lines

  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name:        email.h
  3. // Purpose:     wxEmail: portable email client class
  4. // Author:      Julian Smart
  5. // Modified by:
  6. // Created:     2001-08-21
  7. // RCS-ID:      $Id: email.h,v 1.3 2002/09/07 12:10:20 GD Exp $
  8. // Copyright:   (c) Julian Smart
  9. // Licence:     wxWindows licence
  10. /////////////////////////////////////////////////////////////////////////////
  11.  
  12. #if defined(__GNUG__) && !defined(__APPLE__)
  13. #pragma interface "email.h"
  14. #endif
  15.  
  16. #ifndef _WX_EMAIL_H_
  17. #define _WX_EMAIL_H_
  18.  
  19. #include "wx/net/msg.h"
  20.  
  21. /*
  22.  * wxEmail
  23.  * Miscellaneous email functions
  24.  */
  25.  
  26. class wxEmail
  27. {
  28. public:
  29. //// Ctor/dtor
  30.     wxEmail() {};
  31.  
  32. //// Operations
  33.  
  34.     // Send a message.
  35.     // Specify profile, or leave it to wxWindows to find the current user name
  36.     static bool Send(wxMailMessage& message, const wxString& profileName = wxEmptyString,
  37.         const wxString& sendMail = wxT("/usr/lib/sendmail -t"));
  38.     
  39. protected:
  40. };
  41.  
  42.  
  43. #endif //_WX_EMAIL_H_
  44.  
  45.