Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

PHP: Email with Swift Mailer

via LinkedIn Learning

Overview

Learn how to use PHP to programmatically send email, including HTML email and personalized bulk email, with Swift Mailer, the free PHP library.

Syllabus

Introduction
  • Welcome
  • What you should know before watching this course
  • Using the exercise files
1. Getting Started
  • What is Swift Mailer?
  • Installing Swift Mailer with Composer
  • Installing Swift Mailer from GitHub
  • Loading Swift Mailer
2. Swift Mailer Basics
  • Preparing a basic email
  • Choosing a transport to send the email
  • Sending the email by SMTP
  • Using an encrypted SMTP connection
  • Handing the email to the server's mail transport agent
  • Using Swift Mailer with the PHP mail() function
  • Using an aggregate transport
  • Adding a Reply-To header
  • Copying a message to other reciipients
  • Setting additional headers
3. Sending Attachments
  • Attaching a local file
  • Attaching a dynamically generated file
4. Sending HTML Email
  • HTML email basics
  • Embedding images in HTML email
5. Advanced Features
  • Sending individually addressed emails
  • Personalizing bulk mail
  • Using a custom class to personalize mail
  • Limiting the rate of sending emails
  • Using a logger plugin for debugging
6. Case Study: Registration Form
  • Introducing the case study
  • Checking required fields
  • Building the message body
  • Uploading and attaching a file
  • Sending the email
Conclusion
  • Goodbye

Taught by

David Powers

Reviews

4 rating at LinkedIn Learning based on 4 ratings

Start your review of PHP: Email with Swift Mailer

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.