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

Item_Email_Helper.Send_Email Method



Creates and sends the email when a user 'shares' a single digital resource


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_Email(
	string Recepient_List,
	string CcList,
	string Comments,
	string User_Name,
	string SobekCM_Instance_Name,
	SobekCM_Item Item,
	bool HTML_Format,
	string URL,
	int UserID
)

Parameters

Recepient_List
Type: System..::..String
Recepient list for this email
CcList
Type: System..::..String
CC list for this email
Comments
Type: System..::..String
Sender's comments to be included in the email
User_Name
Type: System..::..String
Name of the user that sent this email
SobekCM_Instance_Name
Type: System..::..String
Name of the current SobekCM instance (i.e., UDC, dLOC, etc..)
Item
Type: SobekCM.Resource_Object..::..SobekCM_Item
Digital resource to email
HTML_Format
Type: System..::..Boolean
Tells if this should be sent as HMTL, otherwise it will be plain text
URL
Type: System..::..String
Direct URL for this item
UserID
Type: System..::..Int32
Primary key for the user that is sendig the email

Return Value

Type: Boolean
TRUE if successful, otherwise FALSE

See Also



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