Articles tagged with email

Sending Email With PHPMailer

By Alex McFadyen
[This is a slightly updated copy of the tutorial on now defunct wiki.cakephp.org]

This example will show you how to send HTML mail from you Cake application with PHPMailer.

You will create:

1. cakePHP component
2. a vendor package
3. view for plain text email body
4. view for HTML email body
5. a function in your controller to send mail.
[Read more]

PHPMailer with native API for PHP 5.x

By Heiner Gassen
This tutorial on using PHPMailer with Cake (http://bakery.cakephp.org/articles/view/94) has a comment requesting a component that lets you use the native PHPMailer API. This is possible with PHP5's built-in overloading capabilities.
[Read more]

SwiftMailer Component

By Othman ouahbi
This is a component that does encapsulate but not hide swift mailer.
In addition, it adds some nifty features.
In short, this is just a delicious cake-ish swift Mailer.
[Read more]

Simple SMTP Mailer

By Louis Stoltz
This is a simple tutorial on how to send a plain text message via email.
[Read more]

Acts As Emailable

By Christopher E. Franklin
This little behavior is more of a learning experiment for me into how behaviors work in the CakePHP side of things. It helps me with maintaining a list of users who are emailable rather than write a component or a model. Read on for more...
[Read more]

Using Custom Validation Rules To Compare Two Form Fields

By Aran Johnson
Want to make sure that two submitted form fields have the same value? Use the ability to write your own validation rules, to add this validation to your model.
[Read more]