a1784c5cf8
git-svn-id: svn://10.65.10.50/branches/R_10_00@23238 c028cbd2-c16b-5b4b-a496-9718f37d4682
41 lines
992 B
C++
41 lines
992 B
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: email.h
|
|
// Purpose: wxEmail: portable email client class
|
|
// Author: Julian Smart
|
|
// Modified by:
|
|
// Created: 2001-08-21
|
|
// RCS-ID: $Id: email.h 35650 2005-09-23 12:56:45Z MR $
|
|
// Copyright: (c) Julian Smart
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef _WX_EMAIL_H_
|
|
#define _WX_EMAIL_H_
|
|
|
|
#include "wx/net/msg.h"
|
|
|
|
/*
|
|
* wxEmail
|
|
* Miscellaneous email functions
|
|
*/
|
|
|
|
class WXDLLIMPEXP_NETUTILS wxEmail
|
|
{
|
|
public:
|
|
//// Ctor/dtor
|
|
wxEmail() {};
|
|
|
|
//// Operations
|
|
|
|
// Send a message.
|
|
// Specify profile, or leave it to wxWidgets to find the current user name
|
|
static bool Send(wxMailMessage& message, const wxString& profileName = wxEmptyString,
|
|
const wxString& sendMail = wxT("/usr/sbin/sendmail -t"));
|
|
|
|
protected:
|
|
};
|
|
|
|
|
|
#endif //_WX_EMAIL_H_
|
|
|