]>
Commit | Line | Data |
---|---|---|
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 | #ifndef _WX_EMAIL_H_ | |
13 | #define _WX_EMAIL_H_ | |
14 | ||
15 | #include "wx/net/msg.h" | |
16 | ||
17 | /* | |
18 | * wxEmail | |
19 | * Miscellaneous email functions | |
20 | */ | |
21 | ||
22 | class WXDLLIMPEXP_NETUTILS wxEmail | |
23 | { | |
24 | public: | |
25 | //// Ctor/dtor | |
26 | wxEmail() {}; | |
27 | ||
28 | //// Operations | |
29 | ||
30 | // Send a message. | |
31 | // Specify profile, or leave it to wxWidgets to find the current user name | |
32 | static bool Send(wxMailMessage& message, const wxString& profileName = wxEmptyString, | |
33 | const wxString& sendMail = wxT("/usr/sbin/sendmail -t")); | |
34 | ||
35 | protected: | |
36 | }; | |
37 | ||
38 | ||
39 | #endif //_WX_EMAIL_H_ | |
40 |