C# Class common.BL.MailController

Mostrar archivo Open project: hddevteam/luckyci Class Usage Examples

Public Methods

Method Description
EditBody ( ProjectInfo projectInfo, string>.Dictionary allStat, string mailPath ) : MailInfo

执行编辑邮件相关信息的操作

EditBody ( ProjectInfo projectInfo, string>.Dictionary allStat, string mailPath, string shortName ) : MailInfo

执行编辑邮件相关信息的操作

NewEditBody ( ProjectInfo projectInfo, string statisticsTimes, string mailPath, string shortName ) : MailInfo

最新编辑邮件模板

SendMail ( MailInfo mailInfo ) : string

执行发送邮件的动作

SendReport ( string reportMailPath, string>.Dictionary allStatics, string>.Dictionary allProjectStatics, string>.Dictionary totalTimes ) : bool

发送每周邮件报告

SendWeekilReportFromMongodb ( string mongoConnectionPath, string reportMailPath, ConfigInfo configInfo ) : bool

从mongodb中获取数据,发送周报告

StatisticsFromMdb ( string mdbPath, string reportMailPath, ConfigInfo configInfo ) : bool

从access数据库中取得数据,发送周报告

Method Details

EditBody() public method

执行编辑邮件相关信息的操作
public EditBody ( ProjectInfo projectInfo, string>.Dictionary allStat, string mailPath ) : MailInfo
projectInfo common.DTO.ProjectInfo 传入projectInfo的实例对象
allStat string>.Dictionary
mailPath string
return common.DTO.MailInfo

EditBody() public method

执行编辑邮件相关信息的操作
public EditBody ( ProjectInfo projectInfo, string>.Dictionary allStat, string mailPath, string shortName ) : MailInfo
projectInfo common.DTO.ProjectInfo 传入projectInfo的实例对象
allStat string>.Dictionary
mailPath string
shortName string
return common.DTO.MailInfo

NewEditBody() public method

最新编辑邮件模板
public NewEditBody ( ProjectInfo projectInfo, string statisticsTimes, string mailPath, string shortName ) : MailInfo
projectInfo common.DTO.ProjectInfo
statisticsTimes string
mailPath string
shortName string
return common.DTO.MailInfo

SendMail() public method

执行发送邮件的动作
public SendMail ( MailInfo mailInfo ) : string
mailInfo common.DTO.MailInfo mail相关信息的实例
return string

SendReport() public method

发送每周邮件报告
public SendReport ( string reportMailPath, string>.Dictionary allStatics, string>.Dictionary allProjectStatics, string>.Dictionary totalTimes ) : bool
reportMailPath string
allStatics string>.Dictionary
allProjectStatics string>.Dictionary
totalTimes string>.Dictionary
return bool

SendWeekilReportFromMongodb() public method

从mongodb中获取数据,发送周报告
public SendWeekilReportFromMongodb ( string mongoConnectionPath, string reportMailPath, ConfigInfo configInfo ) : bool
mongoConnectionPath string
reportMailPath string
configInfo common.DTO.ConfigInfo
return bool

StatisticsFromMdb() public method

从access数据库中取得数据,发送周报告
public StatisticsFromMdb ( string mdbPath, string reportMailPath, ConfigInfo configInfo ) : bool
mdbPath string
reportMailPath string
configInfo common.DTO.ConfigInfo
return bool