PHP: Sending Email (Text/HTML/Attachments) PHP / Emailing
So, you want to send automated email messages from your PHP application. This can be in direct response to a user's action, such as signing up for your site, or a recurring event at a set time, such as a monthly newsletter. Sometimes email contains file attachments, both plain text and HTML portions, and so on. To understand how to send each variation that may exist on an email, we will start with the simple example and move to the more complicated.
Building an Opt-in Email List PHP / Emailing
This helpful tutorial shows you how to build an opt-in email list in PHP. It covers validating email addresses, checking for duplicate email addresses, adding to a mailing list, and changing a strings case.
Simple Broadcast Emailer PHP / Emailing
This tutorial will walk you through making an email script that allows you to send the same message to more than one person. This is useful if you have a newsletter that gets sent regularly to multiple people.
Basic HTML newsletter in PHP/MYSQL PHP / Emailing
This tutorial will teach you how to make a simple newsletter in PHP/MYSQL with account activation. This will require PHP that is not running in SAFE_MODE or PHP that at least allows the sendmail function(duh, you can't send mail without this enabled).
Protecting Email Addresses Using ASCII Codes PHP / Emailing
This can be used to protect email addresses, for instance. Because spammers are writing software to search for certain patterns (email adresses) on web pages, this might help keep spam low. The trick is to use HTML character codes for email addresses, making it much harder for spambots to find email data.
Making your own WordPress plugin PHP / CMS
In this tutorial I will teach you how to make your very own WordPress Plugin. I will show you how to make an options page in the admin panel, add and change plugin options and more.
Phorm Manager PHP / Forms
In this part four of a series on HTML form handling with PHP, it explains how to create a powerful PHP form handler, called Phorm Manager.
PHP User Email Validation Script PHP / Emailing
Here is a simple script can valid a user's email address. This script works by sending a confirmation email to the user's email account. The user then must confirm their email address. This script is great for any user login system.
Send an Email Attachment with PHP PHP / Emailing
To send email attachments you need to make use of MIME (Multipurpose Internet Mail Extensions) - a mechanism that allows email to go beyond a basic, limited character set. MIME has many uses but for the purposes of this tutorial we will send a multipart/mixed MIME email; this means we can send a text email and attach a PDF file to it (for information on attaching other file types please see the end of this tutorial). The MIME side of things will be exaplined as we go.
Verifying email address PHP / Emailing
When users sign up to join your website you may want to verify their email address by sending confirmation link to their email address. You'll learn how to do this in this tutorial.
Form to Email PHP / Emailing
You can apply this tutorial for your contact form on your sites. This tutorial shows you in 1 file with a normal contact information form. When you submit, this file will be sent an email immediately to the target email including in codes.
Email Validator PHP / Emailing
This article will help you to add an email validator to your website. The author has not only shown you how to do this, he has added all the code to put into your PHP.