Microsoft Autodiscover

A Rust based implementation of the Microsoft autodiscover protocol for Exchange.

This is usefull for automatically detecting and finding a user's mail server configuration from just their username and password.

Usage

You can request a config by simply calling the from_email function:

```rust extern crate ms_autodiscover;

[tokio::main]

async fn main() { let config = msautodiscover::fromemail("user@contoso.com", "example_password", None::).await.unwrap();

println!("{}", config.user().name())

// Example output:
// "Contoso"

} ```