Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emiliort/turbosmtp-mailer
turboSMTP Mailer
https://github.com/emiliort/turbosmtp-mailer
Last synced: about 1 month ago
JSON representation
turboSMTP Mailer
- Host: GitHub
- URL: https://github.com/emiliort/turbosmtp-mailer
- Owner: emiliort
- License: mit
- Created: 2022-03-28T11:03:58.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-20T20:49:27.000Z (over 2 years ago)
- Last Synced: 2024-09-21T09:56:49.403Z (4 months ago)
- Language: PHP
- Size: 22.5 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# turboSMTP mailer
Provides turboSMTP integration for Symfony Mailer.
## Instalation
composer require emiliort/turbosmtp-mailer
## Transport Setup
Add custom trasport to config\services.yaml
mailer.transport_factory.custom:
class: Turbosmtp\TurbosmtpTransportFactory
parent: mailer.transport_factory.abstract
tags:
- {name: mailer.transport_factory}Configure MAILER_DSN enviroment variable:
MAILER_DSN="turbosmtp://USERNAME:PASSWORD@default"
If you want to override the default host for a provider change default value. For example, using european turboSMTP servers:
MAILER_DSN="turbosmtp://USERNAME:[email protected]"
## License
Autor: [emiliort](https://github.com/emiliort).
Licensed under the terms of the [MIT license](LICENSE).