Hi everyone,
last week I decided to install PHPList 3.3.7 on my Server. It is possible to subscribe and unsubscribe to a newsletter, thus the respective Emails are sent. But PHPList is not sending any campaigns or autoresponders mails at all. I just have a small test list right now.
It even doesn’t matter if I process the queue on the Admin page or via a Cron job. Nothing is send and no error log filled, even I changed error_reporting to 1 in /admin/index.php and /admin/init.php.
Also I ran the command of the cron job from the command line and allow it to create a log file. But the log file only contains “phpList - phpList version 3.3.7 © 2000-2019 phpList Ltd, https://www.phplist.com
Try automatic updater here (beta)”.
Though here is what I ran from the command line, without getting any error log at all (except the above mentioned message):
/usr/local/pd/bin/php-7.0-cli /home/username/domain_name/html/eml/admin/index.php -pprocessqueue -c /home/username/domain_name/html/eml/config/config.php >~/processqueue.log 2>&1
/usr/local/pd/bin/php-7.0-cli /home/username/domain_name/html/eml/admin/index.php -c /home/username/domain_name/html/eml/config/config.php >~/processqueue.log 2>&1
/usr/local/pd/bin/php-7.0-cli /home/username/domain_name/html/eml/admin/index.php -c /home/username/domain_name/html/eml/config/config.php -p processqueue >~/processqueue.log 2>&1
/usr/local/pd/bin/php-7.0-cli /home/username/domain_name/html/eml/admin/index.php -m Autoresponder -p processqueue -c /home/username/domain_name/html/eml/config/config.php >~/processqueue.log 2>&1
/usr/local/pd/bin/php-7.0-cli /home/username/domain_name/html/eml/admin/index.php -p processqueue -c /home/username/domain_name/html/eml/config/config.php >~/processqueue.log 2>&1
And here is my config.php without comments:
$database_host = ‘localhost’;
$database_name = ‘dbname’;
$database_user = ‘dbuser’;
$database_password = ‘dbpassword’;
define(“PHPMAILER_SECURE”,‘ssl’);
define(‘PHPMAILERHOST’, ‘smtps.domain_name.com’);
define(‘PHPMAILERPORT’, 587);//465
define(‘SMTP_TIMEOUT’,5);
$phpmailer_smtpuser = ‘smtpuser’;
$phpmailer_smtppassword = ‘smtppassword’;
define(‘TEST’, 0);
$pageroot = ‘/lists’;
define(‘UPLOADIMAGES_DIR’, ‘//images’);
$message_envelope = ‘bounces@domain_name.com’;
$bounce_protocol = ‘pop’;
define(‘MANUALLY_PROCESS_BOUNCES’, 0);
$bounce_mailbox_host = ‘pop3.domain_name.com’;
$bounce_mailbox_user = ‘bouncemailuser’;
$bounce_mailbox_password = ‘bouncemailpassword’;
//$bounce_mailbox_port = ‘110/pop3/notls’; //I’m not sure if this is needed
//$bounce_mailbox_port = “110/pop3”; //or even that
$bounce_mailbox_port = “993”;
$bounce_mailbox = ‘/var/mail/listbounces’;
$bounce_mailbox_purge = 1;
$bounce_mailbox_purge_unprocessed = 1;
$bounce_unsubscribe_threshold = 5;
define(‘HASH_ALGO’, ‘sha256’);
define(‘EMAILTEXTCREDITS’, 1);
define(‘PAGETEXTCREDITS’, 1);
In class.phpmailer.php I set debug level to 4, but do not get any errors regarding sending messages from the queue. Do I have to make the entries from the config.php in class.phpmailer.php again? Is PHP7 the problem?
Right now I have no idea where to look especially as I do not get any error logs. Therefore I appreciate any help.
Thanks in advance.