Horje
The Swift Mailer library and nothing more. Created for developers. Wordpress Tutorial

Noted That:

  • To install correctly this swift-mailer.zip .
  • Fisrt Download the swift-mailer.zip to your computer
  • Extract/Open swift-mailer.zip to Your Computer.
  • Then, Find readme.txt file inside swift-mailer.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.

Start the Tips:

1. First Download " swift-mailer.zip " Plugin to your Local Computer. (Click Download)

2. Then, Login to your " yourdomain.com/wp-admin " Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse " swift-mailer.zip "  Downloaded plugin from your computer, Where you downloaded swift-mailer.zip According to Step – 1 Above then, click on " Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on " Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. " Swift Mailer " folder is added on left sidemenu. Now, Click on " Swift Mailer " folder.

   Noted that: If you do not see " Swift Mailer " folder on left sidemenu then, see at left sidemenu " Settings " or " Tools ".

8. Now you configure yourself oR Watch video tutorial below about  Swift Mailer Configurtions and Settings or How to work " Swift Mailer " in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " Swift Mailer " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is Swift Mailer
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide

Upload and activate. You can then use the Swift Mailer library within your code – swift_required.php is automatically included.

Sample connect and send code (full documentation available at: http://swiftmailer.org/docs/sending.html )
// Create the Transport
$transport = Swift_SmtpTransport::newInstance(‘smtp.example.org’, 25)
-> setUsername(‘your username’)
-> setPassword(‘your password’)
;


// Create the Mailer using your created Transport
$mailer = Swift_Mailer::newInstance($transport);
// Create a message
$message = Swift_Message::newInstance('Wonderful Subject') ->
setFrom(array('[email protected]' =>
 'John Doe')) ->
setTo(array('[email protected]', '[email protected]' =>
 'A name')) ->
setBody('Here is the message itself') ;
// Send the message
$result = $mailer->
send($message);

developers , tutorial , created , nothing , mailer , library , swift ,

Name

Read Article
https://horje.com/learn/1434/reference