@@ -185,6 +185,11 @@ throttling:
185185# for things such as forgot password, unlock account, confirm account etc.
186186# If `enable_logins` is set to true above, the following _are required_ to be
187187# filled out with valid values.
188+ #
189+ # These values are passed through to ActionMailer configuration. The documentation
190+ # for ActionMailer is at:
191+ # https://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration
192+ #
188193mail :
189194 # Email delivery errors will be shown in the application
190195 # Environment Variable Override: PWP__MAIL__RAISE_DELIVERY_ERRORS='false'
@@ -202,6 +207,10 @@ mail:
202207 # Environment Variable Override: PWP__MAIL__SMTP_PASSWORD='something@&#$'
203208 # smtp_password: ''
204209
210+ # If you need to specify a HELO domain, you can do it here.
211+ # Environment Variable Override: PWP__MAIL__SMTP_DOMAIN='xyz.dev'
212+ # smtp_domain: ''
213+
205214 # Port of the SMTP server
206215 # Environment Variable Override: PWP__MAIL__SMTP_PORT='587'
207216 smtp_port : 587
@@ -217,7 +226,11 @@ mail:
217226
218227 # Use STARTTLS when connecting to your SMTP server and fail if unsupported.
219228 # Environment Variable Override: PWP__MAIL__SMTP_STARTTLS='true'
220- smtp_starttls : true
229+ # smtp_starttls: false
230+
231+ # Detects if STARTTLS is enabled in your SMTP server and starts to use it. Defaults to true.
232+ # Environment Variable Override: PWP__MAIL__SMTP_ENABLE_STARTTLS_AUTO='false'
233+ smtp_enable_starttls_auto : true
221234
222235 # Number of seconds to wait while attempting to open a connection.
223236 # Environment Variable Override: PWP__MAIL__SMTP_OPEN_TIMEOUT='10'
@@ -227,6 +240,12 @@ mail:
227240 # Environment Variable Override: PWP__MAIL__SMTP_READ_TIMEOUT='10'
228241 smtp_read_timeout : 10
229242
243+ # When using TLS, you can set how OpenSSL checks the certificate. This is
244+ # useful if you need to validate a self-signed and/or a wildcard certificate.
245+ # This can be one of the OpenSSL verify constants, :none or :peer
246+ # Environment Variable Override: PWP__MAIL__SMTP_OPENSSL_VERIFY_MODE='none'
247+ # smtp_openssl_verify_mode: 'peer'
248+
230249 # Configure the e-mail address which will be shown as 'From' in emails
231250 # See config/initializers/devise.rb where this is used
232251 # Environment Variable Override: PWP__MAIL__MAILER_SENDER='"Password Pusher" <[email protected] >'
0 commit comments