Delta Chat Core C Interface
Macros
DC_LP

Flags for configuring IMAP and SMTP servers. More...

Macros

#define DC_LP_AUTH_NORMAL   0x4
 Force NORMAL authorization, this is the default. More...
 
#define DC_LP_AUTH_OAUTH2   0x2
 Force OAuth2 authorization. More...
 
#define DC_LP_IMAP_SOCKET_PLAIN   0x400
 Connect to IMAP unencrypted, this should not be used. More...
 
#define DC_LP_IMAP_SOCKET_SSL   0x200
 Connect to IMAP via SSL. More...
 
#define DC_LP_IMAP_SOCKET_STARTTLS   0x100
 Connect to IMAP via STARTTLS. More...
 
#define DC_LP_SMTP_SOCKET_PLAIN   0x40000
 Connect to SMTP unencrypted, this should not be used. More...
 
#define DC_LP_SMTP_SOCKET_SSL   0x20000
 Connect to SMTP via SSL. More...
 
#define DC_LP_SMTP_SOCKET_STARTTLS   0x10000
 Connect to SMTP via STARTTLS. More...
 

Detailed Description

Flags for configuring IMAP and SMTP servers.

These flags are optional and may be set together with the username, password etc. via dc_set_config() using the key "server_flags".

Macro Definition Documentation

#define DC_LP_AUTH_NORMAL   0x4

Force NORMAL authorization, this is the default.

If this flag is set, automatic configuration is skipped.

#define DC_LP_AUTH_OAUTH2   0x2

Force OAuth2 authorization.

This flag does not skip automatic configuration. Before calling dc_configure() with DC_LP_AUTH_OAUTH2 set, the user has to confirm access at the URL returned by dc_get_oauth2_url().

#define DC_LP_IMAP_SOCKET_PLAIN   0x400

Connect to IMAP unencrypted, this should not be used.

If this flag is set, automatic configuration is skipped.

#define DC_LP_IMAP_SOCKET_SSL   0x200

Connect to IMAP via SSL.

If this flag is set, automatic configuration is skipped.

#define DC_LP_IMAP_SOCKET_STARTTLS   0x100

Connect to IMAP via STARTTLS.

If this flag is set, automatic configuration is skipped.

#define DC_LP_SMTP_SOCKET_PLAIN   0x40000

Connect to SMTP unencrypted, this should not be used.

If this flag is set, automatic configuration is skipped.

#define DC_LP_SMTP_SOCKET_SSL   0x20000

Connect to SMTP via SSL.

If this flag is set, automatic configuration is skipped.

#define DC_LP_SMTP_SOCKET_STARTTLS   0x10000

Connect to SMTP via STARTTLS.

If this flag is set, automatic configuration is skipped.