mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-22 17:17:17 +01:00
Bind the send_mail method.
This commit is contained in:
parent
2bd9eb6468
commit
094b1fe752
@ -619,6 +619,8 @@ void SMTPClient::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("set_use_threads", "val"), &SMTPClient::set_use_threads);
|
||||
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "use_threads"), "set_use_threads", "get_use_threads");
|
||||
|
||||
ClassDB::bind_method(D_METHOD("send_mail", "address", "subject", "message"), &SMTPClient::send_mail);
|
||||
|
||||
BIND_ENUM_CONSTANT(AUTH_TYPE_PLAINTEXT);
|
||||
BIND_ENUM_CONSTANT(AUTH_TYPE_STARTTLS);
|
||||
BIND_ENUM_CONSTANT(AUTH_TYPE_SMTPS);
|
||||
|
Loading…
Reference in New Issue
Block a user