Learning Swift Mailer (1)

From Wiki @ Karl Jones dot com
Jump to: navigation, search

This articles introduces Swift Mailer, a PHP-based library for sending email.

Prerequisites

Installing the library

You can install the Swift Mailer library in one of two ways:

  • Download the library, and upload to your web server
  • Use Composer - a command-line utility

This article will describe the download-upload process.

For the Composer process, see Installing the library.

Download the library

Download the Swift Mailer library:

https://github.com/swiftmailer/swiftmailer

Unzip the download file. Find a folder named something like:

swiftmailer-5.x

You can upload the entire folder to your web server.

It contains several subfolders;

 doc
 lib
 tests

The library itself is located in the lib folder.

Upload the library

...

Use the library in a web page

...

See also