Skip to content

Commit ada2f45

Browse files
committed
Enable mail connection validation for the prod environment.
We can't enable it everywhere because in test and travis environments there is no mail server during application startup. Addressed to #413 [ci skip]
1 parent 5039d7a commit ada2f45

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vagrant/provisioning/roles/mystamps-app/templates/application-prod.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ spring.mail.host: smtp.mailgun.org
1010
spring.mail.port: 25
1111
spring.mail.username: postmaster@my-stamps.ru
1212
spring.mail.password: {{ user_mail_password }}
13+
spring.mail.test-connection: true
1314

1415
spring.messages.cache-seconds: -1
1516
spring.messages.fallback-to-system-locale: false

0 commit comments

Comments
 (0)