Skip to content

Commit

Permalink
fix(core): Use Smtp for Gmail by default
Browse files Browse the repository at this point in the history
  • Loading branch information
amaury1093 committed Jan 16, 2024
1 parent d153e9a commit 8e79884
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion backend/src/worker/check_email.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ pub async fn process_check_email(

let output = check_email(payload.input).await;
info!(target: LOG_TARGET, email=output.input, is_reachable=?output.is_reachable, "Done check");
debug!(target: LOG_TARGET, output=?output, "Done check");
let reply_payload = serde_json::to_string(&output)?;
let reply_payload = reply_payload.as_bytes();

Expand Down
2 changes: 1 addition & 1 deletion core/src/util/input_output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ impl Default for CheckEmailInput {
yahoo_verif_method: YahooVerifMethod::Api,
#[cfg(feature = "headless")]
yahoo_verif_method: YahooVerifMethod::Headless,
gmail_verif_method: GmailVerifMethod::Api,
gmail_verif_method: GmailVerifMethod::Smtp,
#[cfg(not(feature = "headless"))]
hotmail_verif_method: HotmailVerifMethod::OneDriveApi,
#[cfg(feature = "headless")]
Expand Down

0 comments on commit 8e79884

Please sign in to comment.