2008-03-11 15:50:42 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: email.h
|
|
|
|
// Purpose: wxEmail: portable email client class
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 2001-08-21
|
2009-02-23 11:44:42 +00:00
|
|
|
// RCS-ID: $Id: email.h,v 1.3 2009-02-23 11:44:41 guy Exp $
|
2008-03-11 15:50:42 +00:00
|
|
|
// Copyright: (c) Julian Smart
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_EMAIL_H_
|
|
|
|
#define _WX_EMAIL_H_
|
|
|
|
|
|
|
|
#include "msg.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* wxEmail
|
|
|
|
* Miscellaneous email functions
|
|
|
|
*/
|
|
|
|
|
|
|
|
class 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,
|
2009-02-23 11:44:42 +00:00
|
|
|
bool bShowUI = false, const wxString& sendMail = wxT("/usr/sbin/sendmail -t"));
|
2008-03-11 15:50:42 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif //_WX_EMAIL_H_
|
|
|
|
|