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

Stefan Mischook's Blog: PHP Classes and Objects video tutorial

Adam Pullen's Blog: Execution Filters in Symfony

Tobias Schlitt's Blog: PHPUGDO plans "PHP introduction workshop"

Automated backups to Google Drive with PHP API

IBM developerWorks: Process and integrate Google Notebook data with PHP


Community Events





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


community developer language configure interview wordpress release library introduction threedevsandamaybe api homestead laravel code application podcast series install list unittest

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