Laurent Destailleur 4 years ago
parent
commit
3abceadb86
1 changed files with 4 additions and 0 deletions
  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);