Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Symfony Blog:
How to send emails in symfony 1.1
Jun 12, 2008 @ 15:25:29

On the Symfony blog, there's a new post showing the answer to a common question framework users have - what's the best way to send emails from inside our framework applications.

Sending mails is a web developer's everyday task, and symfony 1.1 let you do this easier than ever using Swift Mailer. Swift Mailer is a well thought, fully featured PHP5 object library that will cover 120% of your mailing needs.

They show how to create a partial or a component in your application that generates the content for the emails and pushes that result out to the Swift Mailer application. They show the (simple) installation from a svn checkout and two examples of sending emails, one simple and another with a multipart message.

tagged: send email symfony framework swiftmailer component tutorial

Link:


Trending Topics: