Messanger Bundle
Installation
Add the bundle to your composer.json
:, (*1)
"igdr/messanger-bundle" : "dev-master"
and run:, (*2)
php composer.phar update
Then add the MessangerBundle to your application kernel:, (*3)
// app/IgdrKernel.php
public function registerBundles()
{
return array(
// ...
new Igdr\Bundle\MessangerBundle\IgdrMessangerBundle(),
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
// ...
);
}
Add parameters to app/config/parameters.ini, (*4)
mailer_transport: smtp
mailer_host: 127.0.0.1
mailer_user: null
mailer_password: null
Add swiftmailer configuration to app/config/config.yml, (*5)
swiftmailer:
transport: "%mailer_transport%"
host: "%mailer_host%"
username: "%mailer_user%"
password: "%mailer_password%"
igdr_messanger:
email:
from: text@example.com
from_name: example