Sending email with PHP: from Basic to Advanced

Dave Hollingworth, IT Trainer

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
44 Videos (2h 3m)
    • Course Introduction

      2:10
    • Install a Web Server on Your Computer

      3:03
    • Change the Root Directory of the Web Server

      3:28
    • Get Access to an SMTP Mail Server

      2:27
    • How NOT to Send Email in PHP

      3:02
    • Install PHP Code Libraries Automatically with Composer

      3:59
    • Install the PHPMailer Library with Composer

      2:05
    • Configure PHPMailer with Your SMTP Server

      3:03
    • Put Configuration Settings in a Separate File

      1:43
    • Send an email to one recipient

      1:56
    • Add a Name to an email Address

      1:05
    • Sending emails to Multiple Recipients: the Difference Between To, Cc and Bcc

      2:30
    • Send an email to Multiple Recipients using To, Cc and Bcc

      1:46
    • Sending an email from One Address but Getting Replies to Another

      1:00
    • Send an email with a Different Address for Replies

      1:18
    • Send email Containing Non-English Characters

      2:31
    • Send an email with a File Attachment

      2:11
    • Send an email with a File Attachment and Change the Filename

      1:41
    • Format the Body of an email using HTML

      1:57
    • Insert an Image into the Body of an email

      3:06
    • Add Styles to the HTML in an email using CSS

      3:09
    • Using HTML and CSS in emails: Online Resources that Make it Easier

      3:55
    • Sending HTML email: Why it's Important to Send a Plain-text Version too

      2:24
    • Add a Plain-text Version of an HTML email

      2:19
    • Why it Takes a Long Time to Send an email using SMTP

      3:35
    • Send email Quickly from a Web Page

      4:25
    • Queue emails to be Sent Later: Save emails in Text Files

      4:28
    • Load all Classes using Composer’s Autoloader

      3:23
    • Send the Queued emails

      4:21
    • Run a PHP Script Automatically at a Specified Time

      6:46
    • Run the Queue Processing Script using cron

      2:22
    • Build a More Scalable Queue: Use Third-party Queue Software

      2:36
    • Install the RabbitMQ Messaging Server

      0:59
    • Build a More Flexible Queue: Use a Language-neutral Message Format

      2:18
    • Install PHP Libraries for RabbitMQ and Message Pack with Composer

      2:17
    • Create a Queue and Publish a Message to it

      3:09
    • View the Messages on the Queue

      1:34
    • Put the Queue Code in a Separate Class

      3:24
    • Process the Messages on the Queue

      4:44
    • Sending email without SMTP: Using Mailgun

      2:15
    • Send an email Using the Mailgun HTTP API

      2:50
    • Track What Happens to emails Once Sent

      5:04
    • Receive email with Mailgun

      3:19
    • Conclusion

      1:15

About This Class

6a9c7a37

Learn to Send emails using PHP in this Comprehensive Course.

I designed this course to be easily understood by programmers who know PHP, HTML and CSS but don't have much experience sending emails from PHP.

Starting with the basic concepts of how emails work, such as senders, recipients, file attachments, using HTML and CSS etc., this course will take you through all the steps needed to have your PHP website sending emails to its users.

Once we've covered the basics, we'll move on to advanced techniques like sending emails asynchronously and tracking emails using third-party email services.

New concepts are explained in detail as and when they're introduced, with full explanations of all the code used with detailed examples.

At the end of the course, you will be able to swiftly and reliably send professional-looking emails using PHP.

13

Students

--

Projects

0

Reviews (0)

Dave Hollingworth

IT Trainer

Hi, I'm Dave Hollingworth. I'm an IT trainer and web application developer. I've been writing code for over twenty years, and teaching IT for over fifteen.

I've developed enterprise-level applications on platforms ranging from mainframes to mobiles: from my first web application, a quotes system created for a major insurance company back in 1999 - the first of its type in the sector - to interactive learning management systems for online language learning.

I've taught courses ranging from basic use of email to advanced web application development, both online and in-person.

I'm passionate about technology, and love teaching it! I believe it's possible to explain even the most complex subjects in a simple, straightforward way that doesn't confuse the student.

I look forward to welcoming you onto one of my courses!