News Feed
Sections




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

SitePoint PHP Blog:
Sending Confirmation Emails with Phalcon and Swift
January 29, 2014 @ 12:09:13

The SitePoint blog has posted a new tutorial by author Thien Tran Duy showing you how to send emails with Swift through a Phalcon-based application via Gmail.

Today, sending emails is considered the basic functionality of any web application. Usually, an email is sent to notify the user of some kind of activity that has taken place on the website, such as when he registers the account, updates information, or when new friends have been found. In this short tutorial I'll show you how to send emails via Gmail quickly from within a Phalcon sample application. You can download the full source code from GitHub. We'll be building functionality which lets us send a confirmation email, and reacts to the click of said confirmation email.

The tutorial walks you through the entire process from start to finish, complete with code examples. It helps you set up the Phalcon project, modify the configuration, set up models and create the basic controller. You'll need to either install Swift via Composer or by just adding the files to the vendor directory though. The script uses this library to send the message, store the hash in an "email_confirmations" table and verify it once the user returns.

0 comments voice your opinion now!
confirmation email swift phalcon tutorial introduction

Link: http://www.sitepoint.com/sending-confirmation-emails-phalcon-swift/

blog comments powered by Disqus

Similar Posts

NetTuts.com: Diving Into Symfony 2

PHP-GTK Community Site: VIES client

Michelangelo van Dam's Blog: Zend Framework context switching for HTML content

SitePoint PHP Blog: Message Queues: Comparing Beanstalkd, IronMQ and Amazon SQS

Zend Developer Zone: Manipulating Images with PHP and GraphicsMagick


Community Events





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


install api list interview release symfony2 introduction community developer framework threedevsandamaybe unittest podcast opinion series refactor language code laravel testing

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