openly fail when not delivering mail
This commit is contained in:
parent
40a90ca4b7
commit
415cc2c2f1
3 changed files with 0 additions and 20 deletions
|
@ -3,11 +3,6 @@ class ApplicationMailer < ActionMailer::Base
|
|||
default from: "demarches-simplifiees.fr <#{CONTACT_EMAIL}>"
|
||||
layout 'mailer'
|
||||
|
||||
# Don’t retry to send a message if the server rejects the recipient address
|
||||
rescue_from Net::SMTPSyntaxError do |_error|
|
||||
message.perform_deliveries = false
|
||||
end
|
||||
|
||||
# Attach the procedure logo to the email (if any).
|
||||
# Returns the attachment url.
|
||||
def attach_logo(procedure)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue