nahoMailPlugin - 1.1.1

The `nahoMailPlugin` is a symfony plugin that provides an easy way of sending emails in Symfony 1.1 and further.

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute
nahoMailPlugin 1.1.1stable for sf 1.2sf 1.1sf 1.0 MIT
Plugin image
52
users
Sign-in
to change
your status

The nahoMailPlugin is a symfony plugin that provides an easy way of sending emails using the Swift Library and further.

Providing shortcuts for all the complex operations provided by
Swift, keeping the user (you) from calling all those complex nested
calls to its verbose classes, but not losing its powerness.

As of Symfony 1.2, sending emails has become more verbose and less structured.

nahoMail comes to help you using the new (lack of) mailing system:

  • Inclusion of Swift Mailer (as adviced in mail documentation) directly in the plugin as an external.
  • A centralized configuration : you won't have to redefine your SMTP access and call all those nested Swift classes. It's all done in your app.yml once.
  • A nahoMail class with a simple "send" method which allows you to send an e-mail with (almost) one call.
  • A shortcut to ease the construction of your mail body using partials or components.
  • Abstraction of image-embedding.

Example :

nahoMail::send('My subject', 
  nahoMail::getBody('partial', 'myModule/myPartial'),
  'recipient@mail.com');

Developers

Name Status Email
gravatar Nicolas Chambrier lead rf.oohay <<ta>> rylohan

License

Show source

Copyright (c) 2009 Nicolas Chambrier

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.