C# Class SobekCM.Library.Email.Item_Email_Helper

Helper class creates and sends the email when users 'share' a single digital resource
ファイルを表示 Open project: MarkVSullivan/SobekCM-Web-Application

Public Methods

Method Description
Send_Email ( string Recepient_List, string CcList, string Comments, string User_Name, string SobekCM_Instance_Name, BriefItemInfo Item, bool HTML_Format, string URL, int UserID ) : bool

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

Private Methods

Method Description
Add_Citation_HTML_Rows ( string Row_Name, List Values, StringBuilder Results ) : void
Add_Citation_Text_Rows ( string Row_Name, List Values, StringBuilder Results ) : void
HTML_Send_Email ( string Recepient_List, string CcList, string Comments, string User_Name, string SobekCM_Instance_Name, BriefItemInfo Item, string URL, int UserID ) : bool
Single_Citation_HTML_Row ( string Row_Name, string Value ) : string
Single_Citation_Text_Row ( string Row_Name, string Value ) : string
Text_Send_Email ( string Recepient_List, string CcList, string Comments, string User_Name, string SobekCM_Instance_Name, BriefItemInfo Item, string URL, int UserID ) : bool

Method Details

Send_Email() public static method

Creates and sends the email when a user 'shares' a single digital resource
public static Send_Email ( string Recepient_List, string CcList, string Comments, string User_Name, string SobekCM_Instance_Name, BriefItemInfo Item, bool HTML_Format, string URL, int UserID ) : bool
Recepient_List string Recepient list for this email
CcList string CC list for this email
Comments string Sender's comments to be included in the email
User_Name string Name of the user that sent this email
SobekCM_Instance_Name string Name of the current SobekCM instance (i.e., UDC, dLOC, etc..)
Item BriefItemInfo Digital resource to email
HTML_Format bool Tells if this should be sent as HMTL, otherwise it will be plain text
URL string Direct URL for this item
UserID int Primary key for the user that is sendig the email
return bool