YoVDO

PHP: Email with Swift Mailer

Offered By: LinkedIn Learning

Tags

Swift Courses iOS Development Courses PHP Courses Rate Limiting Courses Email Automation Courses

Course Description

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

Related Courses

30 Days to Learn Laravel
Laracasts
Add Passkeys to a Laravel App
Laracasts
Andrew's Larabits
Laracasts
App Engine: Qwik Start - PHP
Google via Google Cloud Skills Boost
Automated Laravel Upgrades
Laracasts