Thread Starter
Qilin
(@qilin2000)
Possible improvements:
Above the email list, there are three options, All / Successful / Failed. All is the total number of emails, and there is a number next to it, but there is no number next to Successful and Failed, better to add it, as it can show the email delivery status more clearly.
Hi Qilin, thanks for flagging these up! I’ve added them to our GitHub tracker along with your suggestions. Would you mind telling me your exact replication steps on breaking the resend functionality with phpmailer and then I can take a look (either in this forum thread or in the GitHub issue mentioned above).
I’m going to close this topic as keeping everything on GitHub makes my life much easier 🙂
Thread Starter
Qilin
(@qilin2000)
Hi James,
I tested your plugin on a local computer with XAMPP installed, and here is some basic information:
Server info: Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/7.4.33
PHP version: 7.4.33
WordPress version: 6.2.1
By adding hooks into functions.php, I can choose how emails are sent out from my website, e.g. via ‘mail’ or ‘smtp’. Your plugin works fine with ‘smtp’ method, but doesn’t work with ‘mail’ method, here is the the mail debug info:
Could not instantiate mail function.
And here is the sendmail error info:
Bad sender address syntax.
Hope the information above helps.
BTW, if I want this plugin to send out emails using ‘smtp’ method only, how would the code be? To be clear, how to write the if statement in the code? I’m a PHP newbie, any help would be greatly appreciated.