Smtp.Session – libesmtp Reference Manual
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
()
2022 vala-language.org