Skip to content

Commit 722a6e2

Browse files
authored
Merge pull request #1129 from OpenConext/feature/use_smtp_in_stead_of_sendmail
Change the mail configuration to smtp instead of Sendmail
2 parents fb679f6 + 1540162 commit 722a6e2

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: sendmail
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
@@ -193,6 +193,13 @@ parameters:
193193
name: 'OpenConext Admin'
194194
subject: 'IdP debug info from %%1$s'
195195

196+
## Swiftmailer configuration
197+
mailer_transport: 'smtp'
198+
mailer_host: 'localhost'
199+
mailer_port: '25'
200+
mailer_user: ''
201+
mailer_password: ''
202+
196203
##########################################################################################
197204
## FEATURE SETTINGS
198205
##########################################################################################

0 commit comments

Comments
 (0)