• 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

Hoffi

Well-known member
#1
Hello,

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?
 

Mike

XenForo developer
Staff member
#2
Everything uses Zend_Mail. XenForo_Mail is a wrapper around it for specific uses (email templates).
 

Hoffi

Well-known member
#3
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. ;)