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

XF 1.4 XenForo Mail Class

Discussion in 'Troubleshooting and Problems' started by Hoffi, Aug 24, 2014.

  1. Hoffi

    Hoffi Well-Known Member


    I am just looking into the Mail bahavoir of XenForo, and just regognized, that the Mail-System inside the AdminCP uses Zend_Mail instead of XenFofo_Mail, like the registration.

    Has this a special reason, or is it a bug?
  2. Mike

    Mike XenForo Developer Staff Member

    Everything uses Zend_Mail. XenForo_Mail is a wrapper around it for specific uses (email templates).
  3. Hoffi

    Hoffi Well-Known Member

    Yes, but the XenForo_ControllerAdmin_User uses the directly the Zend_Mail Class in line 1086. That could make some problems, if you extend the XenForo Mail Class.

    So I want to know, is there a reason why you use it at that point directly?

    I just recognized it, because I extended the Mails Class, and wantet to test it with the Admin User Mail System, and wondered it did not works. ;)
  4. Mike

    Mike XenForo Developer Staff Member

    The XenForo_Mail class is specific to the usage with mail templates.

Share This Page