mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='http://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='http://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='http://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='http://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='http://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
MISSING BANNER

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.Email
Assembly: 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



Version 4.10.0 ( last generated Monday, March 7, 2016 )