Item_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 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