File tree Expand file tree Collapse file tree 2 files changed +11
-17
lines changed Expand file tree Collapse file tree 2 files changed +11
-17
lines changed Original file line number Diff line number Diff line change 4040
4141 config . action_mailer . perform_caching = false
4242
43- config . action_mailer . delivery_method = :smtp
44- config . action_mailer . smtp_settings = {
45- address : Sagittarius ::Configuration . config [ :rails ] [ :mailer ] [ :address ] ,
46- port : Sagittarius ::Configuration . config [ :rails ] [ :mailer ] [ :port ] ,
47- domain : Sagittarius ::Configuration . config [ :rails ] [ :mailer ] [ :domain ] ,
48- user_name : Sagittarius ::Configuration . config [ :rails ] [ :mailer ] [ :username ] ,
49- password : Sagittarius ::Configuration . config [ :rails ] [ :mailer ] [ :password ] ,
50- authentication : 'plain' ,
51- enable_starttls : true ,
52- open_timeout : 5 ,
53- read_timeout : 5 ,
54- }
43+ config . action_mailer . delivery_method = :file
5544
5645 # Print deprecation notices to the Rails logger.
5746 config . active_support . deprecation = :log
Original file line number Diff line number Diff line change 5757
5858 config . action_mailer . perform_caching = false
5959
60+ config . action_mailer . delivery_method = :smtp
6061 config . action_mailer . smtp_settings = {
61- address : ENV . fetch ( 'SAGITTARIUS_MAIL_SMTP_ADDRESS' , 'localhost' ) ,
62- port : ENV . fetch ( 'SAGITTARIUS_MAIL_SMTP_PORT' , 25 ) ,
63- user_name : ENV . fetch ( 'SAGITTARIUS_MAIL_SMTP_USERNAME' , nil ) ,
64- password : ENV . fetch ( 'SAGITTARIUS_MAIL_SMTP_PASSWORD' , nil ) ,
65- authentication : ENV . fetch ( 'SAGITTARIUS_MAIL_SMTP_AUTHENTICATION' , 'plain' ) . to_sym ,
62+ address : Sagittarius ::Configuration . config [ :rails ] [ :mailer ] [ :address ] ,
63+ port : Sagittarius ::Configuration . config [ :rails ] [ :mailer ] [ :port ] ,
64+ domain : Sagittarius ::Configuration . config [ :rails ] [ :mailer ] [ :domain ] ,
65+ user_name : Sagittarius ::Configuration . config [ :rails ] [ :mailer ] [ :username ] ,
66+ password : Sagittarius ::Configuration . config [ :rails ] [ :mailer ] [ :password ] ,
67+ authentication : 'plain' ,
68+ enable_starttls : true ,
69+ open_timeout : 5 ,
70+ read_timeout : 5 ,
6671 }
6772
6873 # Ignore bad email addresses and do not raise email delivery errors.
You can’t perform that action at this time.
0 commit comments