Beta version

class MailerServiceProvider implements ServiceProviderInterface

Register Mailer transport instance.

Methods

Container
register(Container $container)

Initialize Mailer objects.

Details

at line 60
Container register(Container $container)

Initialize Mailer objects.

To use a SMTP mailer, enter your server config in conf/config.json file, for example:

- mailer
    - type: "smtp"
    - host: "smtp.example.org"
    - port: 587
    - encryption: "ssl"
    - username: "username"
    - password: "password"

Just set type to false or remove mailer section to enable simple sendmail transport.

Parameters

Container $container

Return Value

Container