Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

You must provide at least one recipient email address.

+2 votes
94 views
asked Dec 6, 2017 in Plugins by mshah

I am using the plugin Tag and Category Notification by Amiya Sahu. I am  facing below exception while sending an email.

"You must provide at least one recipient email address."

Have you faced similar issue? Whats the solution?

Q2A version: 1.7.5

1 Answer

+1 vote
answered Dec 7, 2017 by mshah
I got this fixed.

Actually, the plugin uses PHPMailer to send an email. I changed it to use the inbuilt send_email function. So, since the plugin was sending TO empty and send_email did not recognize bcc list, it failed.

I changed the plugin to use TO instead of BCC and now it sends an email. I have pushed the fixed code.

https://github.com/PublicityPort/q2a-email-notification
...