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
// Copyright: (c) Julian Smart 2001
8
// Licence: wxWindows licence
10
30
#ifndef WX_EMAIL_H_
31
#define WX_EMAIL_H_
32
33
#include "
msg.h
"
34
35
/*
36
* wxEmail
37
* Miscellaneous email functions
38
*/
39
40
class
WXDLLIMPEXP_NETUTILS
wxEmail
{
41
public
:
43
wxEmail
() =
default
;
44
46
47
// Send a message.
48
// Specify profile, or leave it to wxWidgets to find the current user name
49
// two sending methods for Unix platforms : sendmail or xdg-email shell
50
// script
51
static
bool
Send(
52
wxMailMessage
& message,
int
sendMethod,
53
const
wxString& profileName = wxEmptyString,
54
const
wxString& sendMail2 =
"/usr/sbin/sendmail -t"
,
// sendmail
55
const
wxString& sendMail1 =
"/usr/bin/xdg-email"
,
// xdg in bin folder
56
const
wxString& sendMail0 =
"/usr/sbin/xdg-email"
);
// xdg in sbin folder
57
58
protected
:
59
};
60
61
#endif
// WX_EMAIL_H_
wxEmail
Definition
email.h:40
wxMailMessage
Definition
msg.h:42
msg.h
Email Message Encapsulation.
plugins
grib_pi
src
email.h
Generated on Sun Aug 23 2026 00:11:06 for OpenCPN Partial API docs by
1.9.8