]> git.saurik.com Git - wxWidgets.git/blame - contrib/include/wx/net/email.h
Adds a title to the chart, patch 1242262 Matthew D.P.
[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
ab7ce33c 12#if defined(__GNUG__) && !defined(__APPLE__)
decb3a6a
JS
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
15e8daec 26class WXDLLIMPEXP_NETUTILS wxEmail
decb3a6a
JS
27{
28public:
29//// Ctor/dtor
30 wxEmail() {};
31
32//// Operations
33
34 // Send a message.
be5a51fb 35 // Specify profile, or leave it to wxWidgets 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