I am testing and seems to work if you run into any issues I will do my best to help.
Instructions are the same for both versions.
Sendy Bounce SMTP for each brand.
- You will have to go into your mysql database table apps and run the mysql code below. It will create the columns needed for the bounce to work.
ALTER TABLE apps
ADD COLUMN bounce_host VARCHAR(100) NOT NULL AFTER smtp_password,
ADD COLUMN bounce_port VARCHAR(100) NOT NULL AFTER bounce_host,
ADD COLUMN bounce_username VARCHAR(100) NOT NULL AFTER bounce_port,
ADD COLUMN bounce_password VARCHAR(100)NOT NULL AFTER bounce_username;
- Upload all the files included and overwrite the old files.
- Create a bounce email like mail@yourdomain.com. This will catch all the bounced emails.
- Create or Edit your brand under smtp fill out the form with your bounce email details.
Create cron to run every 15 minutes usr/bin/php /path/to/sendy/bounce.php > /dev/null 2>&1
=====================================================================================================
Bounce program for Sendy SMTP method. Written for https://sendy.co/ version 4.0
This program collects all bounce messages from a given mailbox and updates subscribers statuses :
- Bounced
- Soft bounced
- Create a
bounce@yourdomain
mailbox to collect bounce messages - Copy/merge
sendy_4_0.patch
,bounce.php
andincludes
into/path/to/sendy/
- Apply patch :
cd /path/to/sendy/ && patch -p1 < sendy_4_0.patch
- Uncomment and customize the following lines in
includes/config.php
:
/* SMTP bounce settings (use only if you send by SMTP) */
//$bounceHost = '{yourdomain:143/novalidate-cert}';
//$bounceUser = 'bounce@yourdomain';
//$bouncePass = 'bouncepassword';
- Create a cron task on your server like
*/15 * * * * /usr/bin/php /path/to/sendy/bounce.php
- Enjoy !