Set fallback address when empty notification address (#4868)
This commit is contained in:
		
							parent
							
								
									bc077018b8
								
							
						
					
					
						commit
						3f333a8d31
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -73,7 +73,7 @@ Rails.application.configure do
 | 
				
			||||||
  config.action_mailer.perform_caching = false
 | 
					  config.action_mailer.perform_caching = false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # E-mails
 | 
					  # E-mails
 | 
				
			||||||
  config.action_mailer.default_options = { from: ENV.fetch('SMTP_FROM_ADDRESS') }
 | 
					  config.action_mailer.default_options = { from: ENV.fetch('SMTP_FROM_ADDRESS', 'notifications@localhost') }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  config.action_mailer.smtp_settings = {
 | 
					  config.action_mailer.smtp_settings = {
 | 
				
			||||||
    :port                 => ENV['SMTP_PORT'],
 | 
					    :port                 => ENV['SMTP_PORT'],
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue