-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from Mng-dev-ai/improvments
improvements
- Loading branch information
Showing
5 changed files
with
16 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,7 @@ impl Settings { | |
let from_email = get_string_from_env("FROM_EMAIL", "[email protected]"); | ||
let hello_name = get_string_from_env("HELLO_NAME", "localhost"); | ||
let smtp_port = get_int_from_env("SMTP_PORT", 25); | ||
let smtp_timeout = get_int_from_env("SMTP_TIMEOUT", 10); | ||
let smtp_timeout = get_int_from_env("SMTP_TIMEOUT", 5); | ||
let check_smtp = match std::env::var("CHECK_SMTP") { | ||
Ok(val) => val == "true", | ||
Err(_) => false, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters