From 72e07ecfe33ced356b130d7c5fc6846c8ce51a5f Mon Sep 17 00:00:00 2001 From: Vaidas Lungis Date: Thu, 22 Jan 2015 14:29:01 +0200 Subject: [PATCH] add message to error_log when sending emails in testing application env --- src/bb-modules/Email/Service.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bb-modules/Email/Service.php b/src/bb-modules/Email/Service.php index 51a6ecdc5..0c7508c49 100644 --- a/src/bb-modules/Email/Service.php +++ b/src/bb-modules/Email/Service.php @@ -593,7 +593,7 @@ class Service implements \Box\InjectionAwareInterface $mail->addTo($queue->to, $queue->to_name); if (APPLICATION_ENV != 'production') { - //if(BB_DEBUG) error_log('Skip email sending'); + error_log('Skip email sending. Application ENV: '.APPLICATION_ENV); return true; }