URL_Email_Helper.Send_Email Method
Creates and sends the email when a user 'shares' a single digital resource
Namespace: SobekCM.Library.EmailAssembly: 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