mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	derive DEFAULT_FROM_USER from EMAIL_HOST_USER
(imported from commit 2358f00a8eddb744392cd8f8f02cbed406e25013)
This commit is contained in:
		@@ -689,7 +689,7 @@ TEMPLATE_CONTEXT_PROCESSORS = (
 | 
			
		||||
 | 
			
		||||
ACCOUNT_ACTIVATION_DAYS=7
 | 
			
		||||
 | 
			
		||||
DEFAULT_FROM_EMAIL = "Zulip <zulip@zulip.com>"
 | 
			
		||||
DEFAULT_FROM_EMAIL = "Zulip <%s>" % (EMAIL_HOST_USER,)
 | 
			
		||||
# In some email setups, a single inbox may be setup to be a wildcard, so in that case allow
 | 
			
		||||
# differing senders. Otherwise, *always* use the DEFAULT_FROM_EMAIL when not sending via
 | 
			
		||||
# mandrill (i.e. in the localserver case)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user