Installed 3.6.10 and got it working with a local SMTP server. Discovered that my hosting provider limits outbound emails via SMTP. Discovered the PHPList SMTP2Go plugin.
Installed the SMPT2Go Plugin. Activated it and the Common plugin.
Opened an account on SMTP2Go. Went through their process to be a verified sender. Generated the API key.
Back on PHPList I updated the SMTP2Go plugin settings with the API key from SMTP2Go. Left the API Base URL as https://api.smtp2go.com/v3/
Then I went down a rabbit hole, based on an SMTP2Go document, and configured SMTP to use an SMTP userid. After about an hour I realized I was just trying to use SMTP and that wouldn’t work with my vendor.
Modified the config.php and commented out all of the SMTP related defines. I made sure that the SMTP2Go plugin was enabled and double checked the API Key was configured. All other values left with defaults.
Started a campaign and tried to send a test message. It said that the message had been sent successfully. The message never arrived.
Sent the campaign to a test list. “Log of events” says that 7 messages were sent. Nothing arrived.
There are no errors in the php error_log.
On SMTP2Go, the reports say that no emails have been sent.
Are there any logs besides the “Log of events”. What else can I check? I don’t doubt that the plugin works but I suspect that something isn’t configured correctly. But PHPList says it is sending but SMTP2Go says nothing was received.
@jmtphplist You can generate verbose curl output, by selecting that on the Settings page. There should then be a log file in the directory identified by the variable $tmpdir in the phplist config.php file. If that is not set, then set it to a directory to which the web server can write.
Success. I changed the plugin settings for the SMTP2Go Plugin for as follows: Whether to use multi-curl to send emails concurrently - Yes The maximum number of emails to send concurrently when using multi-curl, (between 2 and 32) - 4 (default)
@jmtphplist Good but I don’t know why it is different. If you do have time to look at generating a log file for the first case I’d be interested in seeing what is contained in the response.
The multi-curl doesn’t have that logging. The setting for log file for multi-curl transfers just logs the time taken for each request.