string strmgs = string.Format("Dear user," + "\r\n\r\n" + "\tThis is an auto generated email notification from CallConfine voice recording system to notify the concerned person that the Engine is recording large sized voice file({0} Mb) since past {1} hrs.\nThese are the file name {2}. Kindly check." + "\r\n\r\n\t\t" + "\r\n", myXmlSetting.LargeCallSize, myXmlSetting.LargeCallFrequencyDuration, GetFileNames(call) );
private static string GetFileNames(string[] call)
{
string fileNames = string.Empty;
foreach (string str in call)
{
fileNames += str + Environment.NewLine;
}
return fileNames;
}