Packages
libesmtp
Smtp
Session
Session
add_message
auth_set_context
enumerate_message
etrn_add_node
etrn_enumerate_nodes
get_application_data
option_require_all_recipients
set_application_data
set_eventcb
set_hostname
set_monitorcb
set_server
set_timeout
start_session
Session
Object Hierarchy:
Smtp.Session
Smtp.Session
Smtp.Session
Description:
[
SimpleType
]
[
CCode
( cname =
"smtp_session_t"
, free_function =
"smtp_destroy_session"
, has_type_id =
false
) ]
public
struct
Session
Namespace:
Smtp
Package:
libesmtp
Content:
Creation methods:
public
Session
()
Methods:
public
Message
add_message
()
public
int
auth_set_context
(
AuthContext
context)
public
int
enumerate_message
(
EnumerateMessageCb
cb)
public
EtrnNode
etrn_add_node
(
int
option,
string
node)
public
int
etrn_enumerate_nodes
(
EtrnEnumerateNodeCb
cb)
public
void
*
get_application_data
()
public
int
option_require_all_recipients
(
int
state)
public
void
*
set_application_data
(
void
* data)
public
int
set_eventcb
(
EventCb
cb)
public
int
set_hostname
(
string
hostname)
public
int
set_monitorcb
(
MonitorCb
cb,
int
headers)
public
int
set_server
(
string
hostport)
public
long
set_timeout
(
int
which,
long
value)
public
int
start_session
()