Usage_Stats_Email_Helper.Send_Individual_Usage_Email Method
Sends one email to a user from the system including
individual usage on items which are linked to the user
Namespace: SobekCM.Library.EmailAssembly: SobekCM_Library (in SobekCM_Library.dll) Version: 4.10.0.0 (4.10.0.0)
Syntax
C# |
---|
public static bool Send_Individual_Usage_Email(
int UserID,
string User_Name,
string User_Email,
int Year,
int Month,
int Number_Of_Items_To_Include,
string System_URL,
string System_Name,
string FromAddress
) |
Parameters
- UserID
- Type: System..::..Int32
Primary key for whom to send the email
- User_Name
- Type: System..::..String
Name of the user to include in the email
- User_Email
- Type: System..::..String
Email address to use for this email
- Year
- Type: System..::..Int32
Year of statistics to highlight in the email
- Month
- Type: System..::..Int32
Month of statistics to highlight in the email
- Number_Of_Items_To_Include
- Type: System..::..Int32
Number of items to include in this email, in case the user has many, many items linked
- System_URL
- Type: System..::..String
Base URL to use for links to these items
- System_Name
- Type: System..::..String
Name of the SobekCM instance
- FromAddress
- Type: System..::..String
Address from which the email should be sent
Return Value
Type:
Boolean TRUE if succesful, otherwise FALSE
See Also