dolibarr  16.0.5
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

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

Variables

print *****$script_file(".$version.") pid cd cd cd description as description
 

Detailed Description

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

Definition in file email_expire_services_to_customers.php.

Function Documentation

◆ envoi_mail()

envoi_mail (   $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 <0 if KO, >0 if OK

Definition at line 242 of file email_expire_services_to_customers.php.

Variable Documentation

◆ description

string WebsitePage::description

Only used if Module[ID]Desc translation string is not found.

Since
4.0.0

HTML content supported.

Deprecated:
See also
$product_desc

Definition at line 83 of file email_expire_services_to_customers.php.

Referenced by Opensurveysondage\cleanParameters(), WebsitePage\create(), PriceGlobalVariable\initAsSpecimen(), Events\initAsSpecimen(), PriceGlobalVariableUpdater\initAsSpecimen(), Opensurveysondage\initAsSpecimen(), and WebsitePage\update().