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

URL_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 string Send_Email(
	string Recepient_List,
	string CcList,
	string Comments,
	string User_Name,
	string SobekCM_Instance_Name,
	bool HTML_Format,
	string URL,
	string URL_Title,
	string URL_Short_Type,
	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..)
HTML_Format
Type: System..::..Boolean
Tells if this should be sent as HMTL, otherwise it will be plain text
URL
Type: System..::..String
URL being shared
URL_Title
Type: System..::..String
Title associated with the URL
URL_Short_Type
Type: System..::..String
Short term which explains the type of URL being emailed (i.e., 'browse', 'search', etc..)
UserID
Type: System..::..Int32
Primary key for the user that is sending the email

Return Value

Type: String
Any caught error message

See Also



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