Skip to content

Commit 1540162

Browse files
committed
Make the swiftmailer settings configurable
1 parent 79233a9 commit 1540162

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

app/config/config.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ open_conext_engine_block:
2525
eb.block_user_on_violation: "%feature_block_user_on_violation%"
2626

2727
swiftmailer:
28-
transport: "smtp"
28+
transport: "%mailer_transport%"
29+
host: "%mailer_host%"
30+
port: "%mailer_port%"
31+
username: "%mailer_user%"
32+
password: "%mailer_password%"
2933

3034
framework:
3135
#esi: ~

app/config/parameters.yml.dist

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,13 @@ parameters:
189189
name: 'OpenConext Admin'
190190
subject: 'IdP debug info from %%1$s'
191191

192+
## Swiftmailer configuration
193+
mailer_transport: 'smtp'
194+
mailer_host: 'localhost'
195+
mailer_port: '25'
196+
mailer_user: ''
197+
mailer_password: ''
198+
192199
##########################################################################################
193200
## FEATURE SETTINGS
194201
##########################################################################################

0 commit comments

Comments
 (0)