Make enable_starttls configurable by envvars (#20321)
ENABLE_STARTTLS is designed to replace ENABLE_STARTTLS_AUTO by accepting three values: 'auto' (the default), 'always', and 'never'. If ENABLE_STARTTLS isn't provided, we fall back to ENABLE_STARTTLS_AUTO. In this way, this change should be fully backwards compatible. Resolves #20311
This commit is contained in:
		@@ -74,8 +74,13 @@
 | 
			
		||||
      "description": "SMTP server certificate verification mode. Defaults is 'peer'.",
 | 
			
		||||
      "required": false
 | 
			
		||||
    },
 | 
			
		||||
    "SMTP_ENABLE_STARTTLS": {
 | 
			
		||||
      "description": "Enable STARTTLS? Default is 'auto'.",
 | 
			
		||||
      "value": "auto",
 | 
			
		||||
      "required": false
 | 
			
		||||
    },
 | 
			
		||||
    "SMTP_ENABLE_STARTTLS_AUTO": {
 | 
			
		||||
      "description": "Enable STARTTLS if SMTP server supports it? Default is true.",
 | 
			
		||||
      "description": "Enable STARTTLS if SMTP server supports it? Deprecated by SMTP_ENABLE_STARTTLS.",
 | 
			
		||||
      "required": false
 | 
			
		||||
    },
 | 
			
		||||
    "BUILDPACK_URL": {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user