Home › Forums › WordPress Plugins › Reply By Email plugin: PHP Fatal Error in config page when testing + aliases
- This topic has 3 replies, 2 voices, and was last updated 4 years, 11 months ago by mike hammock.
-
AuthorPosts
-
-
October 8, 2019 at 3:14 pm #16983mike hammockParticipant
Hello,
We just purchased this plugin for a customer, and are off to a bad start. While configuring, we get a fatal error in the config page testing our mail server setiings.
PHP Fatal error: Uncaught Error: Class ‘PHPMailer’ not found in /var/customers/webs/xxxxxxxxx/wpdev.xxxxxxxxxxxxxx.org/wp-content/plugins/bbpnns-reply-by-email/includes/controller/ajax.class.php:88
We are using WordPress 5.2.3 on PHP 7.2.19.
Please advise.
-
October 8, 2019 at 4:24 pm #16986vinnyKeymaster
Hi Mike,
Thanks for reaching out. PHPMailer class comes bundled with WordPress core and should already be loaded by the time ajax actions get triggered.
I’ll look into it and release a fix asap.
Cheers,
Vinny -
October 8, 2019 at 5:21 pm #16989vinnyKeymaster
Hi Mike,
The fix is available in version 1.8.2.
Cheers,
Vinny -
October 9, 2019 at 10:48 am #17037mike hammockParticipant
Hello,
That got my past that error, however still had trouble with SMTP connections.
PHPMailer is using opportunistic TLS by default, if the user selects no encryption you should disable this. Default mail server configs will enable a snakeoil certificate that will fail validation.
From SMTPMailer’s documentation:
Opportunistic TLS
PHPMailer 5.2.10 introduced opportunistic TLS – if it sees that the server is advertising TLS encryption (after you have connected to the server), it enables encryption automatically, even if you have not set SMTPSecure. This might cause issues if the server is advertising TLS with an invalid certificate, but you can turn it off with $mail->SMTPAutoTLS = false;.
-
-
AuthorPosts
- You must be logged in to reply to this topic.