Download the PHP package butterfly/adapter-swift-mailer without Composer
On this page you can find all versions of the php package butterfly/adapter-swift-mailer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download butterfly/adapter-swift-mailer
More information about butterfly/adapter-swift-mailer
Files in butterfly/adapter-swift-mailer
Package adapter-swift-mailer
Short Description Butterfly PHP. Swift Mailer Adapter
License MIT
Informations about the package adapter-swift-mailer
adapter-swift-mailer
Sending emails
Configuration
bfy_adapter.twig.template_paths:
- '%app.dir.root%/view/'
bfy_adapter.swift_mailer.prepared_mails: hello.world: transport: 'bfy_adapter.swift_mailer.transport.mailtrap' content_type: 'text/html' template: 'hello_world.html.twig' from: {'[email protected]': 'Robot'} to: '[email protected]'
services:
bfy_adapter.swift_mailer: class: 'Butterfly\Adapter\SwiftMailer\Mailer' arguments:
- '%bfy_adapter.swift_mailer.prepared_mails%'
- '#bfy_adapter.swift_mailer.transports'
- '#bfy_adapter.swift_mailer.spools'
-
'@bfy_adapter.twig'
bfy_adapter.swift_mailer.transport.mailtrap: factoryStaticMethod: ['Swift_Mailer', 'newInstance'] arguments: ['@bfy_adapter.swift_mailer.transport_handler.mailtrap'] tags: 'bfy_adapter.swift_mailer.transports'
bfy_adapter.swift_mailer.transport_handler.mailtrap: class: 'Swift_SmtpTransport' calls:
- ['setHost', ['mailtrap.io']]
- ['setPort', ['2525']]
- ['setUsername', ['22233f3bd7436f471'], true]
- ['setPassword', ['47750b24d980a8'], true]
- ['setEncryption', ['tls'], true]
-
['setAuthMode', ['cram-md5'], true]
bfy_adapter.swift_mailer.transport.mailtrap.spool: factoryStaticMethod: ['Swift_Mailer', 'newInstance'] arguments: ['@bfy_adapter.swift_mailer.transport_handler.mailtrap.spool'] tags: 'bfy_adapter.swift_mailer.spools'
bfy_adapter.swift_mailer.transport_handler.mailtrap.spool: factoryStaticMethod: ['Swift_SpoolTransport', 'newInstance'] arguments: ['@bfy_adapter.swift_mailer.spool.mailtrap']
bfy_adapter.swift_mailer.spool.mailtrap: class: 'Swift_FileSpool' arguments: ['%app.dir.root%/var']
bfy_adapter.twig.environment: class: 'Twig_Environment' arguments: [@bfy_adapter.twig.loader, %bfy_adapter.twig.configuration%] calls:
- ['setExtensions', [#bfy_adapter.twig.extensions/toArray]]
All versions of adapter-swift-mailer with dependencies
swiftmailer/swiftmailer Version ~6.2
butterfly/interfaces-template-render Version ~1.0