Sending email from a controller

Snog

Well-known member
#2
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:
Top