![]() |
Temporarily disable email
Is there a way to temporarily disable all outgoing mail ?
I am aware of the log to file but will it still attempt to send mail with that set up ? :confused: , I do need that as I want to check the mails being sent correctly etc, without actually sending it. XF and IPB both have a config variable you can set to prevent outbound mail going (just logs to a file instead) for testing / debug purposes. Does VB4 have anything similar ? , I guess I just need to add a line somewhere or enable something in a configuration file. |
You can define DISABLE_MAIL in config.php to have it logged to a file. Here's the comment from class_mail.php:
Code:
/** |
Thank you. :) Just to clarify this is what you meant (in config.php) ?
Code:
$config['disable_mail'] = 1; |
I think what it actually means is:
Code:
define('DISABLE_MAIL', 1); Sorry, I should have included that in my post. |
Thank you :)
|
All times are GMT. The time now is 04:04 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|