bitweb/mail

BitWeb extension for sending emails.

Installs: 524

Dependents: 2

Watchers: 9

Forks: 1

Language: PHP

1.1.2 2015-05-15 06:51 UTC

README

Parameters when using the event listener.

[
    'to' => [
        'email' => 'you@domain.com',
        'name' => 'You'
    ],
    'cc' => [
        [
            'email' => 'me@domain.com',
            'name' => 'Me'
        ]
    ],
    'bcc' => [
        [
            'email' => 'me@domain.com',
            'name' => 'Me'
        ]
    ],
    'from' => [
        'email' => 'me@domain.com',
        'name' => 'Me'
    ],
    'subject' => 'Application rejected',
    'body' => 'Your application has been rejected.',
    'attachments' => [
        'path/to/my/file.file'
    ]
]