OpenCPN Partial API docs
Loading...
Searching...
No Matches
email.h
Go to the documentation of this file.
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: email.h 35650 2005-09-23 12:56:45Z MR $
8// Copyright: (c) Julian Smart
9// Licence: wxWindows licence
11
28#ifndef _WX_EMAIL_H_
29#define _WX_EMAIL_H_
30
31#include "msg.h"
32
33/*
34 * wxEmail
35 * Miscellaneous email functions
36 */
37
38class WXDLLIMPEXP_NETUTILS wxEmail {
39public:
41 wxEmail() {};
42
44
45 // Send a message.
46 // Specify profile, or leave it to wxWidgets to find the current user name
47 // two sending methods for Unix plateforms : sendmail or xdg-email shell
48 // script
49 static bool Send(
50 wxMailMessage& message, int sendMethod,
51 const wxString& profileName = wxEmptyString,
52 const wxString& sendMail2 = wxT("/usr/sbin/sendmail -t"), // sendmail
53 const wxString& sendMail1 =
54 wxT("/usr/bin/xdg-email"), // xdg in bin folder
55 const wxString& sendMail0 =
56 wxT("/usr/sbin/xdg-email")); // xdg in sbin folder
57
58protected:
59};
60
61#endif //_WX_EMAIL_H_
Email Message Encapsulation.