Laurent Destailleur 4 年之前
父節點
當前提交
3abceadb86
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      scripts/emailings/mailing-send.php

+ 4 - 0
scripts/emailings/mailing-send.php

@@ -60,6 +60,10 @@ $error = 0;
 @set_time_limit(0);
 print "***** ".$script_file." (".$version.") pid=".dol_getmypid()." *****\n";
 
+if (!empty($conf->global->MAILING_DELAY)) {
+	print 'A delay of '.((float) $conf->global->MAILING_DELAY * 1000000).' millisecond has been set between each email'."\n";
+}
+
 if ($conf->global->MAILING_LIMIT_SENDBYCLI == '-1') {}
 
 $user = new User($db);