Table of Contents
Swift Mailer
Library API Reference
Version 4 Documentation - A Working Draft
Installation
Tutorials
The Connections
Message Composition
Sending & Recipients
Miscellaneous
Using Plugins
Writing Plugins (advanced)
Tips & Tricks
Frequently Asked Questions
Project Developer Notes for Version 4
Swift Mailer
Version 3 is the latest release. It offers many beneficial changes over Version 2.
Library API Reference
PHP4 API Documentation
PHP5 API Documentation
Version 4 Documentation - A Working Draft
Version 4 Documentation Contents
Installation
Extracting the archive
Uploading to your web server
Running the included tests
Tutorials
Sending a basic email
Sending a HTML email
Sending a multipart email
Personalizing recipient names
Catching useful errors
Sending attachments
Embedding images in HTML emails
Sending to multiple recipients and/or copying to recipients
Sending a batch email without revealing all addresses
Sending an email from a form with Swift
How to customize messages for each recipient in a batch
[TODO: A mass-maling tutorial]
The Connections
Swift_Connection_SMTP
Swift_Connection_Sendmail
Swift_Connection_NativeMail
Swift_Connection_Multi
Swift_Connection_Rotator
SMTP Authentication
Message Composition
Basics of the Swift_Message class
Multi-Part messages in more detail
Dealing with Attachments
Manipulating MIME headers
Embedding images
Customizing Messages
Sending & Recipients
Sending a message to a recipient
Sending to multiple recipients
Sending a batch email or newsletter
Using iterators to provide lists (advanced)
Dealing with failed recipients
Requesting a Read-Receipt
Working with Message-IDs
Changing the message priority
Setting the Bounce-detect or Return-path address
Miscellaneous
Swift's logging system... find out what's going on
A little about Swift's internal caching system
PHP4 error handling - the exception hackaround
Runing SMTP commands using Swift
Using Plugins
Loading new plugins into Swift
Working with plugins after loading
Swift_Plugin_AntiFlood
Swift_Plugin_Decorator
Swift_Plugin_VerboseSending
Swift_Plugin_Throttler
Swift_Plugin_BandwidthMonitor
Swift_Plugin_FileEmbedder
Writing Plugins (advanced)
An introduction to the plugin API
Writing a ConnectListener plugin
Writing a DisconnectListener plugin
Writing a BeforeSendListener plugin
Writing a SendListener plugin
Writing a BeforeCommandListener plugin
Writing a CommandListener plugin
Writing a ResponseListener plugin
Tips & Tricks
Keep memory down to a minimum
Minimize your risk of having your emails blocked as spam
[TODO: Write more tips. Templating, mass-mailing...]
Frequently Asked Questions
I get parse errors, or I get a blank page when I include Swift?
The unit tests are exiting with a memory exhaustion error. Huh?
Why do I get a "Permission Denied" error when I use the SMTP connection?
I've got 54,045,067,032,004 emails to send, how should I do this?
Project Developer Notes for Version 4
Development Goals for Version 4
Discussion
UML Diagrams
Send me your thoughts...