Module transport

Module transport 

Source
Expand description

ยงMessage transport.

A transport represents a single IMAP+SMTP configuration that is known to work at least once in the past.

Transports are stored in the transports SQL table. Each transport is uniquely identified by its email address. The table stores both the login parameters entered by the user and configured list of connection candidates.

Structsยง

ConfiguredLoginParam ๐Ÿ”’
Login parameters saved to the database after successful configuration.
ConfiguredLoginParamJson ๐Ÿ”’
JSON representation of ConfiguredLoginParam for the database and sync messages.
ConfiguredServerLoginParam ๐Ÿ”’
ConnectionCandidate ๐Ÿ”’

Enumsยง

ConfiguredCertificateChecks ๐Ÿ”’
Values saved into imap_certificate_checks.
ConnectionSecurity ๐Ÿ”’

Functionsยง

prioritize_server_login_params ๐Ÿ”’
save_transport ๐Ÿ”’
Saves transport to the database.
send_sync_transports ๐Ÿ”’
Sends a sync message to synchronize transports across devices.
sync_transports ๐Ÿ”’
Process received data for transport synchronization.