Difference between revisions of "Learning Swift Mailer (1)"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(Created page with "This articles introduces Swift Mailer, a PHP-based library for sending email. == Prerequisites == * Web server or Web hosting service...")
 
(Download the library)
 
Line 19: Line 19:
 
== Download 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:
 +
 
 +
<nowiki>swiftmailer-5.x</nowiki>
 +
 
 +
You can upload the entire folder to your web server.
 +
 
 +
It contains several subfolders;
 +
 
 +
<nowiki>
 +
doc
 +
lib
 +
tests</nowiki>
 +
 
 +
The library itself is located in the <code>lib</code> folder.
  
 
== Upload the library ==
 
== Upload the library ==

Latest revision as of 09:21, 17 May 2016

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