Author
Released
2/22/2016Swift Mailer is free and feature-rich, and it integrates into any web app written in PHP 5 or 7. Swift Mailer offers a flexible and elegant object-oriented approach to sending emails, including HTML email and bulk email. This PHP tutorial guides developers through the process of installing and loading Swift Mailer, and sending emails using SMTP and encrypted SMTP connections. David Powers teaches secure methods that protect users and support MIME standards. He also introduces advanced techniques for sending attachments, personalizing email, and limiting the send rate. Want to see how Swift Mailer solves a real-world programming challenge? Chapter 6 is a case study that shows how to use Swift Mailer to send an email registration form.
- What is Swift Mailer?
- Installing Swift Mailer
- Preparing basic email
- Sending email via SMTP
- Handing off emails to mail transport agents
- Sending attachments
- Sending HTML email
- Personalizing bulk mail
- Limiting the rate of sending emails
Skill Level Intermediate
Duration
Views
- Hi, I'm David Powers. Let's be honest, PHP's mail function is pretty basic. It doesn't handle attachments or servers that require a username and password. But there is a better solution, Swift Mailer It's a component of the Symphony framework, so it's free, and it can be used independently. In this course I'll show you how. We'll start with installation and then take a tour of its main features. You'll see how to send emails using SMTP and how to deal with servers that require a username and password or encryption.
We'll also take a look at sending MIME-compliant HTML email and handling large attachments with low memory use. So, if you want fully featured email handling with PHP, let's get started sending email with Swift Mailer.
Related Courses
-
Advanced PHP: Debugging Techniques
with Jon Peck1h 29m Intermediate -
PHP: Accessing Databases with PDO and MySQLi
with David Powers3h 47m Intermediate -
PHP: Design Patterns
with Keith Casey1h 9m Intermediate
-
Introduction
-
Welcome52s
-
Using the exercise files4m 34s
-
-
1. Getting Started
-
What is Swift Mailer?2m 7s
-
Loading Swift Mailer4m 38s
-
-
2. Swift Mailer Basics
-
Preparing a basic email7m 42s
-
Sending the email by SMTP8m 43s
-
Using an aggregate transport5m 27s
-
Adding a Reply-To header6m 29s
-
Setting additional headers9m 36s
-
-
3. Sending Attachments
-
Attaching a local file5m 43s
-
-
4. Sending HTML Email
-
HTML email basics5m 46s
-
-
5. Advanced Features
-
Personalizing bulk mail8m 18s
-
6. Case Study: Registration Form
-
Checking required fields8m 5s
-
Building the message body8m 28s
-
Sending the email8m 11s
-
Conclusion
-
Goodbye52s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Welcome