deltachat::provider

Function get_provider_by_mx

source
pub async fn get_provider_by_mx(
    context: &Context,
    domain: &str,
) -> Option<&'static Provider>
Expand description

Finds a provider based on MX record for the given domain.

For security reasons, only Gmail can be configured this way.