1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Config option 'enableMail' bypassed by AdminCP "Email users"?

Discussion in 'Resolved Bug Reports' started by ManOnDaMoon, Mar 4, 2013.

  1. ManOnDaMoon

    ManOnDaMoon Well-Known Member

    I was actually trying to figure out why the "Email Users" form was working properly in my development copy but not my own add-on script. I found out I left the enableMail option to false.

    Could someone confirm this?

    With
    PHP:
    $config['enableMail'] = false;
    in library/config.php

    I don't know if this is an issue or purposedly designed this way.
     
  2. Mouth

    Mouth Well-Known Member

    this, AFAIK. I cannot imagine why you would create an option to disable email if that is not what you wanted it to do :)
     
  3. ManOnDaMoon

    ManOnDaMoon Well-Known Member

    Well, I voluntarily disabled emails by setting enableMail to false, but somehow emails still work in the Email Users form. This is the issue I'm talking about.
     
  4. Mouth

    Mouth Well-Known Member

    Ahhh, I see now. Sounds like a bug to me.
     
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    XenForo_Mail obeys that config option, but the controller for the mass mailer in the Admin CP has its own mail function that does not obey.

    I will move this to bugs. It might be intentional. The devs will decide.
     
    Eagle and ManOnDaMoon like this.
  6. Mike

    Mike XenForo Developer Staff Member

    Mostly that option was designed to prevent automated emails (thread watch emails, etc), but it makes sense to make it consistent.
     
    Eagle, ManOnDaMoon and Jeremy like this.

Share This Page