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:
Piping Emails to a Laravel Application
February 17, 2014 @ 09:13:48

On the SitePoint PHP blog there's a new tutorial posted about piping emails to Laravel (well, a Laravel-based application). He shows how to have your application take data in from the current input, parse it and insert the data into a database.

In project management or support management tools, you will see this a lot: you can reply to an email message and it is automatically visible in a web application. Somehow, these tools were able to get those email messages right into their system. In this article, we are going to have a look at how we can pipe emails to our Laravel 4 application.

He walks you through the creation of an Artisan command, "email.parse", and using the PHP MIME Mail Parser library to extract data. He gets the to, from, title and message contents from the email and shows how to work with attachments too. Finally, he shows how to set up the mail server to pipe the incoming email though the PHP script for parsing.

0 comments voice your opinion now!
email parse message laravel tutorial mail server

Link: http://www.sitepoint.com/piping-emails-laravel-application/

blog comments powered by Disqus

Similar Posts

The PHP Blog: Writing a Pastebin in PHP

Sameer Borate: Debugging Laravel with MonoLog and FirePHP

Ryan Mauger's Blog: Keeping your html valid with Zend Framework, Tidy and Firebug

Iwan Luijks' Blog: Using Enchant with PHP on Windows - Part 1

PHPBuilder.com: Reading RSS feeds in PHP: Part 1


Community Events





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


podcast conference language release development threedevsandamaybe framework bugfix symfony deployment interview list community series tips introduction code api zendserver laravel

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