mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 23:26:27 +03:00
53 lines
2.0 KiB
JSON
53 lines
2.0 KiB
JSON
{
|
|
"manifests": {
|
|
"symfony/swiftmailer-bundle": {
|
|
"manifest": {
|
|
"bundles": {
|
|
"Symfony\\Bundle\\SwiftmailerBundle\\SwiftmailerBundle": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
},
|
|
"env": {
|
|
"#1": "For Gmail as a transport, use: \"gmail://username:password@localhost\"",
|
|
"#2": "For a generic SMTP server, use: \"smtp://localhost:25?encryption=&auth_mode=\"",
|
|
"#3": "Delivery is disabled by default via \"null://localhost\"",
|
|
"MAILER_URL": "null://localhost"
|
|
}
|
|
},
|
|
"files": {
|
|
"config/packages/dev/swiftmailer.yaml": {
|
|
"contents": [
|
|
"# See https://symfony.com/doc/current/email/dev_environment.html",
|
|
"#swiftmailer:",
|
|
"# send all emails to a specific address",
|
|
"# delivery_addresses: ['me@example.com']",
|
|
""
|
|
],
|
|
"executable": false
|
|
},
|
|
"config/packages/swiftmailer.yaml": {
|
|
"contents": [
|
|
"swiftmailer:",
|
|
" url: '%env(MAILER_URL)%'",
|
|
" spool: { type: 'memory' }",
|
|
""
|
|
],
|
|
"executable": false
|
|
},
|
|
"config/packages/test/swiftmailer.yaml": {
|
|
"contents": [
|
|
"swiftmailer:",
|
|
" disable_delivery: true",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "f0b2fccdca2dfd97dc2fd5ad216d5e27c4f895ac"
|
|
}
|
|
}
|
|
}
|