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

Sending email from a controller


Well-known member
You don't need to override any controller to send mail. Use XenForo_Mail::getDefaultTransport() and create a function in your add-on to send the mail using the transport. Or you may be able to use _sendEmail in XenForo_Deferred_UserEmail.
Last edited: