The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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 ? ![]() 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. |
#2
|
|||
|
|||
![]()
You can define DISABLE_MAIL in config.php to have it logged to a file. Here's the comment from class_mail.php:
Code:
/** * Send the mail. * Note: If you define DISABLE_MAIL in config.php as: * delimited email addresses - Only mail for the recipients will be sent * <filename>.log - Mail will be logged to the given file if writable * any other value - Mail will be disabled |
Благодарность от: | ||
yellow_spider |
#3
|
|||
|
|||
![]()
Thank you.
![]() Code:
$config['disable_mail'] = 1; |
#4
|
|||
|
|||
![]()
I think what it actually means is:
Code:
define('DISABLE_MAIL', 1); Sorry, I should have included that in my post. |
#5
|
|||
|
|||
![]()
Thank you
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|