Disable email by user

Disable email by user [Paid] 1.3

No permission to buy ($35.00)

AndyB

Well-known member
AndyB submitted a new resource:

Disable email by user - Disables emails for selected users.

Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $35.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:

https://www.xf2addons.com/

Description:

Disables emails for selected users.

(Example of Options page)

View attachment 272161

Read more about this resource...
 
This doesn’t seem to work. I added a user name in the settings yesterday, and today the system tried to send him a email via the email queue.
 
Code:
ErrorException: [E_WARNING] Undefined variable $emailArray src/addons/Andy/DisableEmailByUser/XF/Mail/Mail.php:29

    Generated by: xxxxxx Feb 19, 2024 at 12:37 PM

Stack trace

#0 src/addons/Andy/DisableEmailByUser/XF/Mail/Mail.php(29): XF::handlePhpError(2, '[E_WARNING] Und...', '/home/xxxxxx...', 29)
#1 src/XF/Mail/Mail.php(102): Andy\DisableEmailByUser\XF\Mail\Mail->setTo('xxxxxx-regis@y...', 'xxxxxx')
#2 src/XF/Service/User/AbstractConfirmationService.php(83): XF\Mail\Mail->setToUser(Object(SV\AdvancedBbCodesPack\XF\Entity\User))
#3 src/XF/Service/User/AbstractConfirmationService.php(63): XF\Service\User\AbstractConfirmationService->sendConfirmationEmail()
#4 src/XF/ControllerPlugin/EmailConfirmation.php(48): XF\Service\User\AbstractConfirmationService->triggerConfirmation()
#5 src/XF/Pub/Controller/AccountConfirmation.php(55): XF\ControllerPlugin\EmailConfirmation->actionResend(Object(SV\AdvancedBbCodesPack\XF\Entity\User), '/account-confir...', Array)
#6 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\AccountConfirmation->actionResend(Object(XF\Mvc\ParameterBag))
#7 src/XF/Mvc/Dispatcher.php(258): XF\Mvc\Dispatcher->dispatchClass('XF:AccountConfi...', 'Resend', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\AccountConfirmation), NULL)
#8 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\AccountConfirmation), NULL)
#9 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#11 src/XF.php(524): XF\App->run()
#12 index.php(20): XF::runApp('XF\\Pub\\App')
#13 {main}

Request state

array(4) {
  ["url"] => string(28) "/account-confirmation/resend"
  ["referrer"] => string(77) "https://snogssite.com/resources/unmaintained-ozzmodz-moderation-notifier.245/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(56) "/resources/unmaintained-ozzmodz-moderation-notifier.245/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Back
Top Bottom