I am using the latest stable build now and I have managed to remove all errors from the log be it just one!
I am using Mailgun as a relay, I use it on all the sites including WP and it works without problems. But for some reason with OJS3 I get this error: [22-Jan-2023 12:41:29 UTC] SMTP connect() failed. Troubleshooting · PHPMailer/PHPMailer Wiki · GitHub
Now this is what I have in my config, and I just want to check if this info is correctly or did I miss something?
; Use SMTP for sending mail instead of mail()
smtp = On
; SMTP server settings
smtp_server = smtp.mailgun.org
smtp_port = 587
; Enable SMTP authentication
; Supported smtp_auth: ssl, tls (see PHPMailer SMTPSecure)
smtp_auth = ssl
smtp_username = journal@
smtp_password = mypassword
;
; Supported smtp_authtype: RAM-MD5, LOGIN, PLAIN, XOAUTH2 (see PHPMailer AuthType)
; (Leave blank to try them in that order)
smtp_authtype =
; The following are required for smtp_authtype = XOAUTH2 (e.g. GMail OAuth)
; (See https://github.com/PHPMailer/PHPMailer/wiki/Using-Gmail-with-XOAUTH2)
; smtp_oauth_provider = Google
; smtp_oauth_email =
; smtp_oauth_clientid =
; smtp_oauth_clientsecret =
; smtp_oauth_refreshtoken =
Thank you. I changed it to tls but to no avail.
I think I should go for an API plugin. When is the release of the next version? And can I already use the beta?
While I don’t know the release date but I assume you can use the main branch to develop a plugin for 3.4. Emails are now sent using Laravel Mail API and Symphony Mailer. I foresee 3 steps:
Install Mailgun transport as per link above to Laravel docs via composer from a plugin