News Feed
Sections




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

ServerGrove Blog:
Spooling emails with Symfony2 on VPS and Shared Hosting
April 30, 2012 @ 10:20:54

The ServerGrove blog has a recent post for the Symfony2 users out there, showing how you can spool emails on a VPS/shared hosting using SwiftMailer and the Symfony2 bundle to interact with it.

When you send an email, the mailer communicates with a remote server in charge of receiving the message and of delivering it to the recipient. This process can cause your form to submit slowly as it depends on how fast the mail server responds. Spooling allows us to decouple the application execution line from the process of the sending one, two, or as many emails as we need.

They show you how to configure the SwiftMailerBundle with the mail server's settings, how to set up the command to send the emails and the settings you'll need to put in your cron file to run the "send" operation periodically.

0 comments voice your opinion now!
shared hosting vps symfony2 spool email tutorial


blog comments powered by Disqus

Similar Posts

Mushfiqsimple Blog: Getting Started with MongoDb with PHP

IBM developerWorks: Understanding the Zend Framework, Part 1: The basics

Pádraic Brady's Blog:Doing that thing called PEAR - Packaging Source Code for PEAR Distribution

Gergely Hodicska's Blog: What's new in PHP 5.3 - part 1: namespaces

SoftDevTube.com: Write Flex and PHP Code Using Flash Builder


Community Events





Don't see your event here?
Let us know!


opinion symfony api deployment release library install language community voicesoftheelephpant series introduction podcast unittest interview bugfix package laravel framework zendserver

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework