Set up Interspire Email Marketer

You can configure Interspire Email Marketer to send out Email using your SMTP mail server and email addresses create with EasyESP script.


To follow this tutorial, you must have EasyESP installed previously:


Your newly created SMTP server has all the requirements required by Interspire Email Marketer to send email.

– PHP5.6 and MySQL5
– “fsocketopen” function enabled
– Outgoing traffic to port 25, 587, 465 (to connect to your SMTP server) are allowed
– EasyESP script creates for you a valid SMTP server to use, with 1vCPU and 1GB of RAM running Linux – Debian 8 x64

Here is an example


If you have not installed Interspire Email Marketer anywhere, you can install it here on your new SMTP server.

Add a new subdomain by following this tutorial:


Adjust file and folder permissions on your SMTP mail server

After uploading the files in the new folder using FileZilla,

Copy the following script and paste it in the ‘area to be used once only’ below.
Change  interspire  with your new subdomain name ( ex: pickout ).

Then select, copy, ‘Right Click‘ on PuTTY window and hit  ⤶ Enter .

chmod 666 /var/www/interspire/admin/includes/config.php
chmod 777 /var/www/interspire/admin/temp
chmod 777 /var/www/interspire/admin/com/storage
service apache2 restart

  area to be used once only:


                                                                                            * in this area the text will be deleted if you refresh this page !

 

Download check_iem.php script

Upload ‘check_iem.php’ script to your SMTP server in ‘interspire’ directory, and load it in your browser via  https://interspire.withyourdomain.com/check_iem.php

Everything says “OK”


 

Install Interspire Email Marketer to send a test email directly in Inbox folder.

Send a test email in Inbox with Interspire Email Marketer

Let’s take a look at the details of the new email received in the ‘Inbox’.

Details of email received in Inbox using SMTP mail server

What you see immediately is ‘from: Name’, the email address and domain name of the SMTP Server.
These details come from the Interspire Email Marketer configuration.
OK, now we install and configure Interspire Email Marketer to get these results.

Interspire Email Marketer installation

Browse to  https://interspire.withyourdomain.com/

In ‘Admin Account Details’ at ‘*Email Address’ make your email created earlier when you installed EasyESP
( ex: alter@withyourdomain.com )

Installing Interspire Email Marketer in SMTP mail server

In the ‘MySQL Database Details’ you have already created a MySQL database when you added the Subdomain.

Database name:   ex:  pickout
Database user:   root
Database password:   your_db_root_password

Complete the details for the Interspire Email Marketer user

After installation, log in to your Interspire Email Marketer homepage.

Edit a User Account ( The top right menu: Users & Groups > View User Accounts -> admin > Edit )

Edit a User Account in Interspire Email Marketer

In ‘Full Name:’ enter the name you want to display as ‘From Name’ in all the emails you send.
In ‘* Email Address:’ it must already be the email address created in your SMTP server.
Check that ‘* User Timezone:’ is correct.
Then ‘Save’.

Setting up SMTP Server details

Enter your SMTP server details ( The top right menu: Settings > Email Settings -> Mail Server Details )

Your own SMTP server details in Interspire Email Marketer

Specify your own SMTP server details:

* SMTP Hostname:   ssl://alter.withyourdomain.com
SMTP Username:   alter@withyourdomain.com
SMTP Password:   your password created in step 5 when you installed EasyESP ( ex: 4y77d3f453re350261 )
SMTP Port:   465

To test your SMTP settings, one more step is still missing:

Cron job setup on your SMTP mail server

Set up cron on your server ( The top right menu: Settings > Cron Settings )

Set up cron on your SMTP server and in Interspire Email Marketer

Enable cron support, copy the string of Cron Command to Run: and paste it into a text file.
Then ‘Save’.

Copy and paste the following script in the ‘area to be used once only’ below.
Change  interspire  with your.

*/1 * * * * /usr/bin/php -f /var/www/interspire/admin/cron/cron.php > /dev/null 2>&1

Open the crontab file running this:

sudo crontab -e

Go to the bottom of the opened file using ‘down arrow’  ▼ .
Copy the line that you have previously edited in the ‘area to be used once only’ below, then ‘Right Click‘ in ‘PuTTY’ to paste it.
Save and exit: press  Ctrl  +  X  to save, then press  y  to confirm and hit  ⤶ Enter  to exit.

  area to be used once only:


                                                                                            * in this area the text will be deleted if you refresh this page !

Reload your Interspire Email Marketer page after 1-2 min and see:  ‘Cron Run Time:   Cron runs every 1 minute’

Test SMTP settings sending an email

Now you can test your SMTP settings.

Test SMTP server settings in Interspire Email Marketer

Set up smtp bounce details in Interspire

Set up bounce processing ( The top right menu: Settings > Bounce Settings)

Set up bounce processing in Interspire Email Marketer

Default Bounce Details:   Enable ‘Yes, set default bounce details’

Then set:
Default Bounce Address:   bounce@withyourdomain.com
Default Bounce Server:   alter.withyourdomain.com:995
Default Bounce Username:   bounce@withyourdomain.com
Default Bounce Password:   your password created in step 5 when you added a second user email account

Account Type:   POP3 Account(Recommended)

Advanced Settings: Click on >   Autodetect advanced settings (recommended)

Click on >   Do not validate certificate
Click on >   Others   -and paste:  /ssl

Then ‘Save’

Test bounce settings in Interspire Email Marketer and the connection to the SMTP Mail Server.

Test connection to Mail Server in Interspire Email Marketer