91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

此程序用C#語言開發,實現了Smtp,exchange兩種發郵件方式,支持自定義自圖片的簽名,和群發附件, 提供源代碼和程序文件,可以直接運行,屬于綠色軟件! 開發此程序主要是為了公司HR批量發工資條。提高了工作效率! 主要實現了將一張工資表根據每行中單元格值生成一個個EXCEL文件, 然后再發送到員工手中。經過測試將一張工作表200行50列的工資條表,拆分成200個文件不到20秒就完成了。(生成的文件可以以員工姓名.xlsx或者自定義命名),郵件發送速度平均1秒左右1封! 當然本程序也可以當群發郵件使用。使用挺簡單的,下面介紹如何使用 使用說明目錄如下: 1 群發郵件 2 將一張工資表根據每行生成一個EXCEL文件 3 發送帶附件的郵件(以發工資條為例) 4 訪問表格一行中指定列的值 5 全局配置說明

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.Linq;
using?System.Text;

namespace?SendEmail
{
????class?ColumnRelation
????{
????????private?string?excelColumnName;

????????///?
????????///?定義excelColumnName表
????????///?

????????public?string?ExcelColumnName?
????????{
????????????get?{?return?excelColumnName;?}
????????????set?{?excelColumnName?=?value;?}
????????}

????????private?string?excelColumnReplace;

????????///?
????????///?替換的excel列
????????///?

????????public?string?ExcelColumnReplace
????????{
????????????get?{?return?excelColumnReplace;?}
????????????set?{?excelColumnReplace?=?value;?}
????????}


????????///?
????????///?得到所有列名配置信息
????????///?

????????///?
????????public?List??GetReveviceUser()
????????{
????????????if?(System.IO.File.Exists(Common.ExcelFixedColumPath))
????????????{
????????????????try
????????????????{
????????????????????xmlHelperRef?excel?=?new?xmlHelperRef();
????????????????????List?columns?=?excel.GetModelByFile(Common.ExcelColumnNamePath);
????????????????????if?(columns?!=?null?&&?columns.Count?>?0)
????????????????????{
????????????????????????return?columns;
????????????????????}
????????????????}
????????????????catch
????????????????{
????????????????????return?null;
????????????????}
????????????}
????????????return?null;
????????}


????????///?
????????///?保存到xml文件中
????????///?

????????public?bool?Save(List?columns)
????????{
????????????try
????????????{

????????????????xmlHelperRef?excel?=?new?xmlHelperRef();
????????????????excel.CreateCommandxml(Common.ExcelColumnNamePath?columns);
????????????????return?true;
????????????}
????????????catch
????????????{
????????????????return?false;
????????????}
????????}

????}
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????99678??2014-09-23?10:28??批量發郵件發工資條\程序源代碼\SendEmail\6.ico

?????文件????????134??2014-09-23?19:50??批量發郵件發工資條\程序源代碼\SendEmail\app.config

?????文件????????286??2014-10-04?20:29??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\config\ExcelFixedColumPath.xml

?????文件?????????49??2014-10-04?20:53??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\config\ExchangeUser.xml

?????文件?????673280??2013-11-12?09:31??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\EPPlus.dll

?????文件??????15916??2014-10-03?12:25??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\Excel\姓名.xlsx

?????文件??????16030??2014-10-03?12:25??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\Excel\姓名1.xlsx

?????文件??????16021??2014-10-03?12:25??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\Excel\姓名2.xlsx

?????文件??????16019??2014-10-03?12:25??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\Excel\姓名3.xlsx

?????文件??????16021??2014-10-03?12:25??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\Excel\姓名4.xlsx

?????文件?????822088??2012-02-17?00:58??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\Microsoft.Exchange.WebServices.dll

?????文件???????3002??2014-08-20?15:29??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\plugin\adapters\jquery.js

?????文件???????3234??2014-08-20?15:29??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\plugin\build-config.js

?????文件??????79918??2014-08-20?15:29??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\plugin\CHANGES.md

?????文件?????525167??2014-08-20?15:29??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\plugin\ckeditor.js

?????文件????????856??2014-09-24?16:42??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\plugin\config.js

?????文件???????2008??2014-08-20?15:29??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\plugin\contents.css

?????文件??????17050??2014-08-20?15:29??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\plugin\lang\af.js

?????文件??????22146??2014-08-20?15:29??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\plugin\lang\ar.js

?????文件??????24286??2014-08-20?15:29??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\plugin\lang\bg.js

?????文件??????23332??2014-08-20?15:29??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\plugin\lang\bn.js

?????文件??????16996??2014-08-20?15:29??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\plugin\lang\bs.js

?????文件??????18819??2014-08-20?15:29??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\plugin\lang\ca.js

?????文件??????18705??2014-08-20?15:29??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\plugin\lang\cs.js

?????文件??????17514??2014-08-20?15:29??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\plugin\lang\cy.js

?????文件??????17770??2014-08-20?15:29??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\plugin\lang\da.js

?????文件??????18441??2014-08-20?15:29??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\plugin\lang\de.js

?????文件??????27698??2014-08-20?15:29??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\plugin\lang\el.js

?????文件??????16848??2014-08-20?15:29??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\plugin\lang\en-au.js

?????文件??????16848??2014-08-20?15:29??批量發郵件發工資條\程序源代碼\SendEmail\bin\Debug\plugin\lang\en-ca.js

............此處省略950個文件信息

評論

共有 條評論