Horje
Add emails to a mailing queue instead of sending immediately to speed up sending forms for the website visitor and lower server load. Wordpress Tutorial

Noted That:

  • To install correctly this smtp-mailing-queue.zip .
  • Fisrt Download the smtp-mailing-queue.zip to your computer
  • Extract/Open smtp-mailing-queue.zip to Your Computer.
  • Then, Find readme.txt file inside smtp-mailing-queue.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 " smtp-mailing-queue.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 " smtp-mailing-queue.zip "  Downloaded plugin from your computer, Where you downloaded smtp-mailing-queue.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. " SMTP Mailing Queue " folder is added on left sidemenu. Now, Click on " SMTP Mailing Queue " folder.

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

8. Now you configure yourself oR Watch video tutorial below about  SMTP Mailing Queue Configurtions and Settings or How to work " SMTP Mailing Queue " 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 " SMTP Mailing Queue " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is SMTP Mailing Queue
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide
  1. Upload the files to the /wp-content/plugins/smtp-mailing-queue/ directory
  2. Activate the \”SMTP Mailing Queue\” plugin through the \”Plugins\” admin page in WordPress
  3. Go to \”SMTP Mailing Queue\” settings page in WordPress admin settings section (you can simply click the \”Settings\” link for this plugin in the \”Plugin\” page

SMTP

Enter the SMTP credentials you got from your mail provider.

Common mail providers:

gmail

  • Host: smtp.gmail.com
  • Port: 465
  • Encryption: ssl
  • Use authentication: yes
  • Username: your full email address

yahoo

  • Host: smtp.mail.yahoo.com
  • Port: 465
  • Encryption: ssl
  • Use authentication: yes
  • Username: your full email address

office365

  • Host: smtp.office365.com
  • Port: 587
  • Encryption: tls
  • Use authentication: yes
  • Username: your full email address

If you have another mail provider you will most likely get the SMTP settings on their website or by asking them.

Advanced

  • queue limit: Set the amount of mails sent per cronjob processing
  • secret key: Set a key needed to start queue manually or via cronjob
  • don’t use wp_cron: Use a real cronjob instead of wp_cron.
    Call http://www.example.org ?smqProcessQueue&key=MySecretKey in cronjob to start processing queue.
  • wp_cron interval: Choose how often wp_cron is started (in seconds)
  • minimum recipients: Mail sending will be delayed (through queue) only if recipients number is higher than this value
  • maximum retry: Mail sending will be retried until it reach this amount of failure

Additional

For apache a .htaccess file with deny from all is generated in mail storage dir.
For all systems that cannot read .htaccess you should deny access to wp-content/uploads/smtp-mailing-queue/ .

Usage

After activation mails automatically queue to be processed by wp_cron or cronjob. SMTP will be used if settings set up.

Tools:

  • Test Mail: Test your email settings by sendig directly or adding test mail into queue.
  • Process Queue: Start queue processing manually. Your set queue limit will still be obeyed, if set.
  • List Queue: Show all mails in mailing queue.
  • List Invalid: Show all mails in failed state. You can purge this list or retry some mails (retry : bring back failure count to 0 and mail moved to “List Queue”).

sending , emails , mailing , queue , instead , immediately , speed , forms , website , visitor ,

Name

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