]> git.saurik.com Git - wxWidgets.git/blob - contrib/include/wx/net/email.h
Committing in .
[wxWidgets.git] / contrib / include / wx / net / email.h
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$
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifdef __GNUG__
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