-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Généralise l'utilisation de la constante EMAIL_CONTACT dans les initi…
…alizers
- Loading branch information
1 parent
e71157e
commit cfb9097
Showing
3 changed files
with
3 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,5 +19,5 @@ | |
# Calculation options | ||
units: :km, # :km for kilometers or :mi for miles | ||
# distances: :linear # :spherical or :linear | ||
http_headers: { "User-Agent" => "[email protected]" }, | ||
http_headers: { "User-Agent" => Eva::EMAIL_CONTACT }, | ||
) |
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
Mailjet.configure do |config| | ||
config.api_key = ENV['MAILJET_API_KEY'] | ||
config.secret_key = ENV['MAILJET_SECRET_KEY'] | ||
config.default_from = '[email protected]' | ||
config.default_from = Eva::EMAIL_CONTACT | ||
# Mailjet API v3.1 is at the moment limited to Send API. | ||
# We’ve not set the version to it directly since there is no other endpoint in that version. | ||
# We recommend you create a dedicated instance of the wrapper set with it to send your emails. | ||
|
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Truemail.configure do |config| | ||
config.verifier_email = '[email protected]' | ||
config.verifier_email = Eva::EMAIL_CONTACT | ||
|
||
config.default_validation_type = :mx | ||
config.not_rfc_mx_lookup_flow = true | ||
|