Browse Source

var env for mailer

master
Tykayn 1 year ago committed by tykayn
parent
commit
7f01e2de60
  1. 1
      .env
  2. 2
      config/packages/swiftmailer.yaml

1
.env

@ -39,6 +39,7 @@ DATABASE_URL=mysql://framadate-admin:framadate-admin-password@127.0.0.1:3306/fra
MAILER_URL=sendmail://YOUR_WEBSITE
# set the support email who will answer users in case of emergency
SUPPORT_EMAIL=support-framadate@YOUR_WEBSITE
SPOOL_PATH=/var/www/html/date-poll-api/var/email/spool
###< symfony/swiftmailer-bundle ###
###> nelmio/cors-bundle ###

2
config/packages/swiftmailer.yaml

@ -2,4 +2,4 @@ swiftmailer:
url: '%env(MAILER_URL)%'
spool:
type: 'file'
path: /var/www/html/date-poll-api/var/email/spool
path: '%env(SPOOL_PATH)%'

Loading…
Cancel
Save