 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Symfony Blog: How to send emails in symfony 1.1
by Chris Cornutt June 12, 2008 @ 10: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.
voice your opinion now!
send email symfony framework swiftmailer component tutorial
DevShed: Managing Email
by Chris Cornutt November 09, 2006 @ 15:05:26
If you want to write PHP scripts that handle email, there are a few things you need to understand first. This article, the first of two parts, introduces you to these concepts.
The article is an excerpt from the Zend PHP Certification Guide and focuses on some of the basics of handling email with PHP. There's some knowledge that you'll need to have before you get started, but the rest is pretty simple stuff. It's walked through at a good pace, making it easy to follow and a good beginner's resource.
Topics they discuss include working with MX records, preparing your PHP installation to handle emails, and sending an email from your script (including instructions for both Unix and Windows based systems).
voice your opinion now!
email guide zend certification study guide send mx email guide zend certification study guide send mx
Devshed: PHP Email
by Chris Cornutt October 25, 2006 @ 11:18:00
In the never-ending stream of article series that comes out of DevShed, they've started up a new one today with part one of a look at creating an email client with PHP and implementing the full email functionality (reading/writing/attachments/etc).
In this four-part series of articles we are going to build an email client with PHP. I will try to implement a full email client with all the functionality that you would expect from an email client, which includes a trash folder, sent items folder and a draft folder. But that's not all.
In part one, they set things up - talking about how it will all work (using the PHPMailer class) and the creating of the database tables to store the data for the app including the messages and the user information.
voice your opinion now!
email phpmailer feature send recieve database tutorial client email phpmailer feature send recieve database tutorial client
Syntux: eZ components
by Chris Cornutt August 14, 2006 @ 07:39:14
On his blog today, Ammar Ibrahim relays a story of how the Mail component from the eZ component frameowrk "saved the day" for a project he was working on.
A few days ago I was asked to develop a simple script for a solidarity campaign. The idea is that people send their photos as attachements to some email. The script would download all images attached and insert a record for that in the database.
I got introduced to eZ components during my last visit to Norway to attend the eZ systems conference. I decided to give it a shot, and oh boy it's just amazing, probably the cleanest and simplest API ever.
The Mail attachment provided all that he needed, and he includes the script (about 50 lines long) that he used to fetch the emails. He did have one issue with the ability to fetch a single email with the tool, but he managed to hack around it (script included as well).
voice your opinion now!
ez components save mail send photos attachments api simple clean ez components save mail send photos attachments api simple clean
PHPEasyStep.com: Sending forgotten password
by Chris Cornutt May 29, 2006 @ 04:43:44
On PHPEasyStep.com, there's a new tutorial talking about adding "send forgotten password" functionality to your member site.
Mark Jackson is one of our member but he forgot his password for login to our website. We'll send him password to his e-mail address.
In this tutorial create 2 file and 1 database - forgot_password.php, send_password_ac.php and the members database.
The rest of the tutorial is all code and SQL statements, including the HTML for the form the users fill out. Basically, it just grabs the password value from the database and sends it along in an email.
Of course, the structure is here for the application, but it's not very secure - sending the password in plain-text like that. Personally, I'd have md5 hashed passwords and reset the password to a new one each time the "request my password" was made. Then, they can come in and reset the paasword when they log in.
voice your opinion now!
php send forgotten password database email form html php send forgotten password database email form html
VulgarisOverIP: Send email with PHP and GMail hosted for your domain
by Chris Cornutt March 28, 2006 @ 07:31:25
GMail's "for your domain" email feature has already impressed quite a bit of the industry, but have you ever wished for something a little bit more? Have you wanted to be able to send things the same way, but from a PHP script? Vulgarisoip is here to help.
Now that GMail for your domain has arrived (if you're a lucky beta winner, that is) it's like hiring a world-class email server engineer and paying them nothing. It takes a little work because of GMail's security requirements, but you end up with a rock solid email server that won't send messages straight into spam folders.
He uses the PHPMailer pakcage to do the dirty work - ensuring the headers are correct and providing a simple API for your scripts to use. There's a brief code example with a small explaination, but there's really not that much to it - any coder could integrate it easily.
[digg it]
voice your opinion now!
php send email gmail hosted domain phpmailer php send email gmail hosted domain phpmailer
|
Community Events
Don't see your event here? Let us know!
|