Commit 8cca99c 1 parent 97bde79 commit 8cca99c Copy full SHA for 8cca99c
File tree 3 files changed +18
-10
lines changed
3 files changed +18
-10
lines changed Original file line number Diff line number Diff line change 32
32
33
33
# Don't care if the mailer can't send.
34
34
config . action_mailer . raise_delivery_errors = false
35
-
36
35
config . action_mailer . perform_caching = false
36
+ config . action_mailer . delivery_method = :smtp
37
+ config . action_mailer . smtp_settings = {
38
+ address : "smtp.gmail.com" ,
39
+ port : 587 ,
40
+ domain : Rails . application . credentials . action_mailer . domain ,
41
+ user_name : Rails . application . credentials . action_mailer . user_name ,
42
+ password : Rails . application . credentials . action_mailer . password ,
43
+ authentication : "plain" ,
44
+ enable_starttls_auto : true }
37
45
38
46
# Print deprecation notices to the Rails logger.
39
47
config . active_support . deprecation = :log
Original file line number Diff line number Diff line change 55
55
# config.active_job.queue_name_prefix = "wednesday_worlds_production"
56
56
57
57
config . action_mailer . perform_caching = false
58
+ config . action_mailer . delivery_method = :smtp
59
+ config . action_mailer . smtp_settings = {
60
+ address : "smtp.gmail.com" ,
61
+ port : 587 ,
62
+ domain : Rails . application . credentials . action_mailer . domain ,
63
+ user_name : Rails . application . credentials . action_mailer . user_name ,
64
+ password : Rails . application . credentials . action_mailer . password ,
65
+ authentication : "plain" ,
66
+ enable_starttls_auto : true }
58
67
59
68
# Ignore bad email addresses and do not raise email delivery errors.
60
69
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments