Skip to content

Commit

Permalink
Added mailer
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvdlinde committed Jan 21, 2020
1 parent f9c787c commit 713d688
Show file tree
Hide file tree
Showing 5 changed files with 195 additions and 1 deletion.
4 changes: 4 additions & 0 deletions api/.env
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,7 @@ JWT_PASSPHRASE=bafe1dc254b45471754c221081f874aa
MERCURE_PUBLISH_URL=http://mercure/hub
MERCURE_JWT_SECRET=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjdXJlIjp7InN1YnNjcmliZSI6WyJmb28iLCJiYXIiXSwicHVibGlzaCI6WyJmb28iXX19.LRLvirgONK13JgacQ_VbcjySbVhkSmHy3IznH3tA9PM
###< symfony/mercure-bundle ###

###> symfony/mailer ###
# MAILER_DSN=smtp://localhost
###< symfony/mailer ###
2 changes: 2 additions & 0 deletions api/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"guzzlehttp/guzzle": "^6.3",
"knplabs/knp-markdown-bundle": "^1.8",
"lexik/jwt-authentication-bundle": "^2.6",
"messagebird/php-rest-api": "^1.16",
"phpdocumentor/reflection-docblock": "^4.3",
"ramsey/uuid": "^3.8",
"ramsey/uuid-doctrine": "^1.5",
Expand All @@ -22,6 +23,7 @@
"symfony/dotenv": "4.3.*",
"symfony/flex": "^1.1",
"symfony/framework-bundle": "4.3.*",
"symfony/mailer": "4.4.*",
"symfony/mercure-bundle": "*",
"symfony/property-access": "4.4.*",
"symfony/yaml": "4.3.*",
Expand Down
169 changes: 168 additions & 1 deletion api/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions api/config/packages/mailer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
framework:
mailer:
dsn: '%env(MAILER_DSN)%'
18 changes: 18 additions & 0 deletions api/symfony.lock
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@
"easyrdf/easyrdf": {
"version": "0.9.1"
},
"egulias/email-validator": {
"version": "2.1.14"
},
"fig/link-util": {
"version": "1.0.0"
},
Expand Down Expand Up @@ -163,6 +166,9 @@
"config/packages/lexik_jwt_authentication.yaml"
]
},
"messagebird/php-rest-api": {
"version": "v1.16.1"
},
"michelf/php-markdown": {
"version": "1.9.0"
},
Expand Down Expand Up @@ -384,6 +390,18 @@
"symfony/intl": {
"version": "v4.3.4"
},
"symfony/mailer": {
"version": "4.3",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "4.3",
"ref": "15658c2a0176cda2e7dba66276a2030b52bd81b2"
},
"files": [
"config/packages/mailer.yaml"
]
},
"symfony/maker-bundle": {
"version": "1.0",
"recipe": {
Expand Down

0 comments on commit 713d688

Please sign in to comment.