From d983e640f7edeb3f46fed4cfec7b48b5ee46cfd9 Mon Sep 17 00:00:00 2001 From: simnandez Date: Tue, 7 May 2013 17:45:52 +0200 Subject: [PATCH] New: [ task #812 ] Add more Scripts. expire contract services to customers. remove mail for tests --- scripts/contracts/email_expire_services_to_customers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/contracts/email_expire_services_to_customers.php b/scripts/contracts/email_expire_services_to_customers.php index 3c601ad2b13..9277946b45a 100755 --- a/scripts/contracts/email_expire_services_to_customers.php +++ b/scripts/contracts/email_expire_services_to_customers.php @@ -183,7 +183,7 @@ function envoi_mail($mode,$oldemail,$message,$total,$userlang,$oldcustomer,$dura $title= $newlangs->transnoentities("ListOfServicesToExpire"); $subject = "[".(empty($conf->global->MAIN_APPLICATION_TITLE)?'Dolibarr':$conf->global->MAIN_APPLICATION_TITLE)."] ".$title; - $sendto = "jmenent@2byte.es";//$oldemail; + $sendto = $oldemail; $from = $conf->global->MAIN_MAIL_EMAIL_FROM; $errorsto = $conf->global->MAIN_MAIL_ERRORS_TO; $msgishtml = 0;