]>
Commit | Line | Data |
---|---|---|
decb3a6a JS |
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 | ||
decb3a6a JS |
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 | ||
15e8daec | 22 | class WXDLLIMPEXP_NETUTILS wxEmail |
decb3a6a JS |
23 | { |
24 | public: | |
25 | //// Ctor/dtor | |
26 | wxEmail() {}; | |
27 | ||
28 | //// Operations | |
29 | ||
30 | // Send a message. | |
be5a51fb | 31 | // Specify profile, or leave it to wxWidgets to find the current user name |
a23c0047 | 32 | static bool Send(wxMailMessage& message, const wxString& profileName = wxEmptyString, |
2edd85f2 | 33 | const wxString& sendMail = wxT("/usr/sbin/sendmail -t")); |
decb3a6a JS |
34 | |
35 | protected: | |
36 | }; | |
37 | ||
38 | ||
39 | #endif //_WX_EMAIL_H_ | |
40 |