Skip to content

Commit

Permalink
Use Symfony Mailer by default
Browse files Browse the repository at this point in the history
  • Loading branch information
NoResponseMate authored and Zales0123 committed Oct 5, 2022
1 parent e585559 commit 5bd0839
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .env
Expand Up @@ -37,3 +37,7 @@ JWT_PASSPHRASE=66d45daf91b2ed1031e62d81c81dba2e
MESSENGER_TRANSPORT_DSN=doctrine://default
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
###< symfony/messenger ###

###> symfony/mailer ###
MAILER_DSN=null://null
###< symfony/mailer ###
3 changes: 3 additions & 0 deletions config/packages/mailer.yaml
@@ -0,0 +1,3 @@
framework:
mailer:
dsn: '%env(MAILER_DSN)%'
Expand Up @@ -5,6 +5,7 @@ sylius_mailer:
sender:
name: Example.com
address: no-reply@example.com
sender_adapter: sylius.email_sender.adapter.symfony_mailer
emails:
admin_password_reset:
subject: sylius.emails.admin_password_reset.subject
Expand Down
12 changes: 12 additions & 0 deletions symfony.lock
Expand Up @@ -718,6 +718,18 @@
"symfony/intl": {
"version": "v4.1.3"
},
"symfony/mailer": {
"version": "5.4",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "4.3",
"ref": "97a61eabb351d7f6cb7702039bcfe07fe9d7e03c"
},
"files": [
"config/packages/mailer.yaml"
]
},
"symfony/messenger": {
"version": "4.3",
"recipe": {
Expand Down

0 comments on commit 5bd0839

Please sign in to comment.