]> git.saurik.com Git - wxWidgets.git/blame - contrib/include/wx/net/email.h
fix for wxExecute(subprocess which produces a lot of output) bug
[wxWidgets.git] / contrib / include / wx / net / email.h
CommitLineData
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
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
26class wxEmail
27{
28public:
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
a23c0047
JS
36 static bool Send(wxMailMessage& message, const wxString& profileName = wxEmptyString,
37 const wxString& sendMail = wxT("/usr/lib/sendmail -t"));
decb3a6a
JS
38
39protected:
40};
41
42
43#endif //_WX_EMAIL_H_
44