XF 1.5 How does Xenforo send mail?

djbaxter

in memoriam 1947-2022
The site I work for seems to be quite slow at sending out notifications.

Does Xenforo queue email automatically? Or run it via a cron job? I can't find any settings for this other than the choice of sending directly from the forum or via SMTP.

I realize it may be a server setting as well but I'm trying to rule out alternatives first.
 
Some emails are queued rather than being immediately sent, and this is to reduce the possibility of timeouts when there are lots of notifications and to save the user performing the action from having to wait until all the emails have been sent.

If the mail is queued the sending process should start almost immediately and then do the sending in batches until the queue is empty.

It usually shouldn't make a significant difference from not queueing.

If you wanted to see if there was a difference without queueing then you can disable it in config.php:
PHP:
$config['enableMailQueue'] = false;
 
Hmmm...

when I add that line I get:

Code:
Parse error: syntax error, unexpected '$config' (T_VARIABLE) in /home/*********/public_html/forum/library/config.php on line 1
 
Back
Top Bottom