dolibarr  20.0.0-alpha
Functions | Variables
email_expire_services_to_customers.php File Reference

Script to send a mail to customers with services to expire. More...

Go to the source code of this file.

Functions

 sendEmailTo ($mode, $oldemail, $message, $total, $userlang, $oldtarget, $duration_value)
 Send email. More...
 

Variables

print *****$script_file(".$version.") pid cd cd cd description as description
 Only used if Module[ID]Desc translation string is not found. More...
 

Detailed Description

Script to send a mail to customers with services to expire.

Definition in file email_expire_services_to_customers.php.

Function Documentation

◆ sendEmailTo()

sendEmailTo (   $mode,
  $oldemail,
  $message,
  $total,
  $userlang,
  $oldtarget,
  $duration_value 
)

Send email.

Parameters
string$modeMode (test | confirm)
string$oldemailTarget email
string$messageMessage to send
string$totalTotal amount of unpayed invoices
string$userlangCode lang to use for email output.
string$oldtargetTarget name
int$duration_valueduration value
Returns
int Int <0 if KO, >0 if OK

Definition at line 245 of file email_expire_services_to_customers.php.

Variable Documentation

◆ description

string WebsitePage::description