Install Sendy in EasyESP

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


1. Get your Sendy

and save the ‘sendy’ folder on the Desktop.


2. Setup DNS records in Digital Ocean

 

 

Resume using PuTTy and run the following script:

cat /sendy_dns.cfg

The result looks like this:

Select all output result and save in the text file.

, click on your domain name and setup DNS records.


3. Deploy Let’s Encrypt certificates for Sendy

 

 

Copy and paste the following script in the ‘area to be used once only’ below.
Change  withyourdomain.com  with your, then run it.

certbot-auto --apache -d sendy.withyourdomain.com -d www.sendy.withyourdomain.com

When request press  2  and hit  ⤶ Enter  to Redirect.

  area to be used once only:


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


4. Upload Sendy

 

 

Open the file → ‘Desktop\sendy\includes\config.php’ in Notepad++ and set:

 define('APP_PATH', 'https://sendy.withyourdomain.com');
  $dbHost = 'localhost'; //MySQL Hostname
  $dbUser = 'root'; //MySQL Username
  $dbPass = 'your_db_password'; //MySQL Password
  $dbName = 'sendy'; //MySQL Database Name

Use FileZilla to upload all ‘Desktop\sendy’ files → in ‘/var/www/sendy’ folder, that already exists.

then run:
 

sudo chmod 777 /var/www/sendy/uploads
systemctl reload apache2


5. Install Sendy

 

 

Change ‘alter‘ and ‘withyourdomain.com‘ with yours:
You can verify the compatibility browsing: https://sendy.withyourdomain.com/_compatibility.php?i=1
Then open in browser https://sendy.withyourdomain.com/_install.php to install Sendy.

After installation create a brand with SMTP settings:

 alter.withyourdomain.com  
  25    587   465  
  TLS   TLS   SSL  
  alter@withyourdomain.com  
  password for the email user ( ex: 4y77d3f453re350261 )  

  area to be used once only:


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


6. Increase the limits of Sendy

to upload large files and send a newsletter at a large list

 

 

Run this script:

echo "php_value memory_limit 1024M
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300" >> /var/www/sendy/.htaccess
sed -i '/memory_limit/s/128M/1024M/' /etc/php5/apache2/php.ini
sed -i '/upload_max_filesize/s/2M/64M/' /etc/php5/apache2/php.ini
sed -i '/post_max_size/s/8M/64M/' /etc/php5/apache2/php.ini
sed -i '/max_execution_time/s/30/300/' /etc/php5/apache2/php.ini
sed -i '/max_input_time/s/60/300/' /etc/php5/apache2/php.ini
sed -i '/max_allowed_packet/s/16M/164M/' /etc/mysql/my.cnf
systemctl reload apache2
systemctl restart mysql