@@ -274,10 +274,12 @@ char* dc_get_blobdir (const dc_context_t* context);
274
274
* - `mail_user` = IMAP-username, guessed if left out
275
275
* - `mail_pw` = IMAP-password (always needed)
276
276
* - `mail_port` = IMAP-port, guessed if left out
277
+ * - `mail_security`= IMAP-socket, one of @ref DC_SOCKET, defaults to #DC_SOCKET_AUTO
277
278
* - `send_server` = SMTP-server, guessed if left out
278
279
* - `send_user` = SMTP-user, guessed if left out
279
280
* - `send_pw` = SMTP-password, guessed if left out
280
281
* - `send_port` = SMTP-port, guessed if left out
282
+ * - `send_security`= SMTP-socket, one of @ref DC_SOCKET, defaults to #DC_SOCKET_AUTO
281
283
* - `server_flags` = IMAP-/SMTP-flags as a combination of @ref DC_LP flags, guessed if left out
282
284
* - `imap_certificate_checks` = how to check IMAP certificates, one of the @ref DC_CERTCK flags, defaults to #DC_CERTCK_AUTO (0)
283
285
* - `smtp_certificate_checks` = how to check SMTP certificates, one of the @ref DC_CERTCK flags, defaults to #DC_CERTCK_AUTO (0)
@@ -4176,6 +4178,8 @@ int64_t dc_lot_get_timestamp (const dc_lot_t* lot);
4176
4178
* @defgroup DC_SOCKET DC_SOCKET
4177
4179
*
4178
4180
* These constants configure socket security.
4181
+ * To set socket security, use dc_set_config() with the keys "mail_security" and/or "send_security".
4182
+ * If no socket-configuration is explicitly specified, #DC_SOCKET_AUTO is used.
4179
4183
*
4180
4184
* @addtogroup DC_SOCKET
4181
4185
* @{
@@ -4195,7 +4199,6 @@ int64_t dc_lot_get_timestamp (const dc_lot_t* lot);
4195
4199
4196
4200
/**
4197
4201
* Connect via STARTTLS.
4198
- * If this flag is set, automatic configuration is skipped.
4199
4202
*/
4200
4203
#define DC_SOCKET_STARTTLS 2
4201
4204
0 commit comments