mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-05 19:42:04 +02:00
set a smtp-timeout
This commit is contained in:
parent
83f3a3480f
commit
d3c9976032
1 changed files with 1 additions and 0 deletions
|
@ -123,6 +123,7 @@ int mrsmtp_connect(mrsmtp_t* ths, const mrloginparam_t* lp)
|
|||
mrmailbox_log_error(ths->m_mailbox, 0, "SMTP-object creation failed.");
|
||||
goto cleanup;
|
||||
}
|
||||
mailsmtp_set_timeout(ths->m_hEtpan, 30); // 30 seconds until actions are aborted, this is also used in mailcore2
|
||||
mailsmtp_set_progress_callback(ths->m_hEtpan, body_progress, ths);
|
||||
#if DEBUG_SMTP
|
||||
mailsmtp_set_logger(ths->m_hEtpan, logger, ths);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue