New EmailLabs Panel
API DOCSEmail API & Cloud SMTPPricingBlog
EN
EN
  • πŸ‘‹New EmailLabs Panel
  • πŸ”security and compliance
    • EmailLabs Safety Center
  • πŸ’‘first steps
    • Completing Company Data
    • GDPR Agreement
      • Choosing the Right GDPR Agreement
      • Signing the GDPR Agreement
    • Security
      • Changing Your Login Password
      • Password Reset
      • IP Authorization
      • Two-Factor Authentication (2FA)
    • SMTP Server Password
    • Sender Authorization
    • SPF Record
      • If You Don’t Have an SPF Record
      • If You Have an SPF Record from Another Service
  • πŸ’ŒEmail
    • Introduction
      • How the Email Channel Works with Omnichannel
      • How to Use Email Campaigns vs API Sends
    • Email API
      • Dashboard
        • Elements on the Dashboard
          • Date Selection
          • SMTP Account Selection
          • Message Statuses and Line Chart
        • Server Information
      • Emails Report
        • Navigation and Tab Selection
          • Structure of the Email Reports Tab
            • Search Tool
            • Email List
              • Detailed Message Logs
      • Tag Report
        • Compare Statuses
          • Search Tool
          • Tags Report Search Results
        • Compare Tags
          • Search Tool
          • Tags Report Search Results
      • Domain Report
        • Search Tool
        • Search Results
      • Blacklist Report
        • Emails Blacklist
          • Search Tool
          • Adding and Exporting Email Addresses
            • Importing Addresses to the Blacklist
            • Exporting Email Addresses from the Blacklist
            • Adding a New Address
        • Domains Blacklist
          • Tool Search
          • Adding a New Domain
        • Import List
          • Search Tool
        • Export List
          • Search Tool
      • Whitelist Report
        • Email Addresses Whitelist
          • Search Tool
          • Add New Address
        • Domain Addresses
          • Search Tool
          • Add New Domain
      • Settings
        • SMTP Accounts
          • General Settings
          • IP Authorization
          • SPF
          • S/MIME
          • Block Disposable Temporary Addresses
          • Tags
            • Configuring a New Rule
          • Headers
            • Configuring Headers
          • Footer
            • Configuring the Footer
          • Link Tracking
            • Link Tracking Configuration
          • Open Tracking
            • Open Tracking Configuration
          • Deep Links
          • Google Analytics
            • Google Analytics Configuration
          • Unsubscribe
            • Unsubscribe Configuration
              • Unsubscribe Page
              • Redirect to Your Unsubscribe Page
            • List-Unsubscribe Header (One-Click Unsubscribe)
        • Blacklist
          • Types of Blacklist
          • Validity of Entries on the Blacklist
          • Bounce Number Before Address Blocking
        • Messages Templaets
          • Email Template Configuration
          • Sending Emails with a Template
    • Email Campaigns
      • Dashboard
        • Elements on the Dashboard
      • Campaigns
        • Campaign List
          • Overview of the Campaign List
          • Campaign Search
          • Campaign List
        • Campaign Export
          • How to Export Campaign List
          • Data Included in the Export File
      • Creating a New Email Campaign
        • Email Template
        • Basic Information
        • Recipients
        • Summary
          • Campaign Preview and Summary
          • Action Button
          • Booster Configuration
          • Campaign Execution
        • Booster Configuration in E-mail Campaign
        • A/B Campaign Email Builder
        • Designing Emails Using the Drag-and-Drop Editor
          • Features of the Editor
            • Content Blocks
            • Rows
            • Settings
          • Creating an Email Design in the Editor
            • Adding Rows
            • Adding Content Elements
            • Personalization and Modification
            • Testing and Optimization
            • Saving and Launching the Campaign
      • Outgoing
        • How to Access Outgoing Emails?
        • Outgoing Emails List
        • Email Details
      • Campaign Reports
        • Summary
        • Opens
        • Clicks
        • Domain Report
        • Heatmap
        • Geo/Tech
        • Tools
        • Data Availability
      • Settings
        • Unsubscribe Pages
          • Adding a New Unsubscribe Page
          • Creating the Unsubscribe Confirmation Page
          • Saving and Completing the Process
          • Available Actions for Created Templates
  • Common Settings
    • Sender Domain Authorization
      • Login and Domain Selection
      • Advanced Settings
      • Generating and Adding DNS Records
        • Domain Authorization in Cloudflare
        • Domain Authorization in GoDaddy
        • Domain Authorization in cyber_Folks
        • Domain Authorization in home.pl
        • Domain Authorization in nazwa.pl
        • Domain Authorization in OVHcloud
        • Domain Authorization in Zenbox
      • Verification and Process Completion
      • Restricting Authorization to Specific SMTPs
      • Technical Support
  • πŸ“±SMS
    • Overview
    • SMS Campaings
      • Dashboard
        • Dashboard Elements
      • Campaigns
        • Campaign List
          • Campaign List Overview
          • Campaign Search
          • Campaign List
        • Campaign Export
          • Data Included in the Export File
        • Creating a New SMS Campaign
          • Sender
          • Recipients
          • Content
            • Message Content
            • Personalization
            • Character Count and Message Billing
            • Message Billing Rules
            • Billing Table
            • Additional Options
              • Campaign Name
              • Campaign Description
              • Progress Notifications (email)
              • Capacity [SMS/h]
              • Unsubscribe Page Template
              • Insert Tracking List
              • Debug Message Content
          • Summary
          • Test Send
          • Booster Configuration
          • Save and Send Campaign
        • Booster Configuration in SMS Campaign
        • Send Test to Multiple
        • Delivery Report
          • Summary
          • Clicks
          • Tools
      • Incoming Messages
        • Incoming Messages
        • Incoming Messages List
        • Exporting Incoming Messages
      • Outgoing Messages
        • Access to Outgoing Messages
        • Outgoing Messages List
        • Exporting Outgoing Messages
      • Settings
        • Links with Suffixes
          • Creating a New Link with a Suffix
          • Managing Links with Suffixes
          • Exporting Link Click Data
          • Best Practises
        • Unsubscribes Pages
          • Configuration Options
          • Unsubscribe Page Functionality
          • Best Practises
    • SMS API
      • Dashboard
      • Incoming Messages
        • Access to Incoming Messages
        • Incoming Messages List
        • Exporting Incoming Messages
      • Outgoing Messages
        • Access to Messages Sent via the API
        • Outgoing Messages List
        • Exporting Outgoing Messages
    • Common Settings
      • SMS Headers
        • Adding a New Sender ID
        • Managing Headers
        • Searching for Headers
        • Security and Best Practises
  • SMS Billing
  • βš™οΈIntegrations
    • SMTP
      • Atomstore
      • BaseLinker
      • eFitness
      • IdoSell
      • Joomla!
      • Microsoft Outlook
      • Mozilla Thunderbird
      • PrestaShop
      • SALESmanago
      • Selly
      • Shoper
      • SOTE
      • User.com
      • WordPress
    • API
    • SMS
      • SALESmanago
  • πŸ‘₯Account
    • Users
      • Adding a User
      • Assigning Permissions
      • 2FA Settings
        • Resetting 2FA Settings
      • User Account Activation
      • Editing and Deleting a User
    • Settlements
      • Company Data
      • Invoices
    • Settings
      • Security
        • IP Authorization
        • Two-Factor Authentication (2FA)
      • API
        • Generating API Keys
        • Assigning Permissions
        • Limiting Access to Specific IP Addresses
        • Managing API Keys
        • Integration and Technical Requirements
      • Webhooks
        • Supported Channels and Events
        • Webhook Configuration
        • Data Transmission
    • Notifications
      • Notification Icon
      • Accessing the Full Notification List
        • Full Notification List View
    • Operations List
      • Operation Search
    • File Manager
    • GDPR
Powered by GitBook
On this page
  • Integration of the WordPress with SMTP EmailLabs
  • Finding SMTP data in EmailLabs
  • Integration using the "Easy WordPress SMTP" plugin
  • Configuration using Code (without a plugin)
  • Integration using the "WP Mail SMTP" Plugin
  1. Integrations
  2. SMTP

WordPress

PreviousUser.comNextAPI

Last updated 3 hours ago

Integration of the WordPress with SMTP EmailLabs

WordPress is one of the most popular solutions in the field of content management systems (CMS), which enables the creation of websites, online stores and blogs. The extraordinary flexibility of WordPress allows for integration with various plugins, including those that enable sending emails, such as thank you messages for filling out a form or newsletter subscription confirmations. However, when we want to change the traditional host SMTP server to an external service, e.g. EmailLabs, we may face some challenges.

If we decide to change the SMTP server in WordPress, it is worth using ready-made plugins that enable quick and efficient setup. Alternatively, if you're a developer, you can customize the configuration yourself. Below we'll guide you through both methods.

Finding SMTP data in EmailLabs

The data needed for integration via SMTP can be found in the EmailLabs panel in the section: Email API -> Settings -> SMTP Accounts.

Integration using the "Easy WordPress SMTP" plugin

Below you will find steps describing the process of integrating WordPress with EmailLabs using the Easy WP SMTP plugin, which will enable effective delivery of emails from your site.

1

Installation of the Easy WP SMTP Plugin

  • The first step is to install the Easy WP SMTP plugin on your site.

  • Go to Plugins -> Add new plugin and search for "Easy WP SMTP".

  • Then install and activate the plugin on your site.

2

Easy WP SMTP Configuration

  • Go to Easy WP SMTP -> Settings.

  • In the Mailer Settings section, select Other SMTP.

3

Configuring EmailLabs SMTP Server Details

  1. Fill out the configuration form with the data received from EmailLabs:

    • SMTP Host: smtp.emaillabs.net.pl

    • Type of Encryption: Select "TLS" or "SSL" depending on your preference.

    • SMTP Port: 587 (with TLS), 465 (with SSL).

    • SMTP Authentication: Check "On".

    • SMTP Username: Enter your EmailLabs SMTP account name in the format 1.youraccountname.smtp.

    • SMTP Password: The SMTP password set in the EmailLabs panel.

  1. In the "General Settings" section, add:

    • From Email Address

    • From Name

4

Saving the Configuration

Click Save settings to save the data.

Configuration using Code (without a plugin)

Open the functions.php file in your WordPress template. Paste the following code, adjusting it to your data:

add_action(’phpmailer_init’,’send_smtp_email’);
function send_smtp_email( $phpmailer )
{
 
        	// Information that we are sending via SMTP
 
         	$phpmailer->isSMTP();
 
        	// SMTP server name
 
        	$phpmailer->Host = β€žsmtp.emaillabs.net.pl”;
 
       	        // SMTP authentication (true/false)
 
        	$phpmailer->SMTPAuth = true;
 
      	        // SMTP port number – 25 (no encryption),
 
                //587 (tls encryption)12          $phpmailer->Port = β€ž587”;
 
     	        // EmailLabs smtp account name
 
     	       $phpmailer->Username = β€žACCOUNT NAME”;
 
     	        // EmailLabs smtp account password
 
      	        $phpmailer->Password = β€žPASSWORD”;
 
     	        // Connection encryption – tls
 
                // or do not call the method
 
                $phpmailer->SMTPSecure = β€žtls”;
 
    	        $phpmailer->From = β€žYour email address”;

After successful configuration, perform a test email send to ensure that the integration works correctly.

Integration using the "WP Mail SMTP" Plugin

With the following steps, your WordPress will be successfully integrated with an external SMTP server using the WP Mail SMTP plugin. This will allow you to improve email deliverability and take advantage of the advanced features available in EmailLabs.

1

Logging into WordPress and Plugin Installation

  • Log in to the WordPress administration panel.

  • From the left-hand menu, navigate to: Plugins -> Add New.

  • Search for "WP Mail SMTP", then install and activate the plugin offered by WPForms.

  • After activation, go to the WP Mail SMTP plugin settings.

2

Entering Initial Plugin Settings

Fill in the following fields in the plugin's general settings section:

  • From Email: Enter the email address from which emails will be sent.

  • Force From Email: Check this box.

  • From Name: Enter the name to be displayed as the sender.

  • Force From Name: Check this box if you want to force the From Name.

  • Return Path: Check this box (recommended to receive information about undelivered emails).

Next, for "Mailer", select the option: Other SMTP.

3

Configuring EmailLabs SMTP Server Details

Configure the plugin settings using the information received from EmailLabs:

  • SMTP Host: smtp.emaillabs.net.pl

  • Encryption: Select your preferred encryption method:

    • TLS (recommended)

    • SSL

  • SMTP Port: Enter the appropriate port depending on the selected encryption:

    • 587 for TLS (recommended)

    • 465 for SSL

  • Authentication: Select the ON option. (If this option is turned off, the SMTP username and password fields will not be available).

  • SMTP Username: Enter your EmailLabs SMTP account name in the format 1.youraccountname.smtp.

  • SMTP Password: Enter the SMTP password set in the EmailLabs panel.

4

Testing and Saving the Configuration

Once all the data has been entered correctly, click the Save and Continue button. Perform a test by sending an email from your WordPress system, for example using the "Example email" function, and check whether the message has been delivered correctly.

βš™οΈ