Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/configure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,20 @@ async fn get_autoconfig(
}
progress!(ctx, 310);

if let Ok(res) = moz_autoconfigure(
ctx,
// the unsecured http:// call is listed as an optional fallback in the RFC
&format!(
"http://autoconfig.{param_domain}/mail/config-v1.1.xml?emailaddress={param_addr_urlencoded}"
),
&param.addr,
)
.await
{
return Some(res);
}
progress!(ctx, 315);

// Outlook uses always SSL but different domains (this comment describes the next two steps)
if let Ok(res) = outlk_autodiscover(
ctx,
Expand Down
Loading