登录
首页 » C# » SendToCS

SendToCS

于 2009-09-23 发布 文件大小:46KB
0 146
下载积分: 1 下载次数: 8

代码说明:

  This is a COde to Send Emails with attachement very easily. You ca use it as an executable, or in you .Net project. Create you Form, create a Button and Enjoy. System::Void MyForm::SendOrder_Click(System::Object^ sender, System::EventArgs^ e) { List Items String ^Filename Filename = IO::Path::Combine(System::Environment::GetEnvironmentVariable("TEMP"), String::Concat("FCSSystem", IO::Path::GetRandomFileName(), ".txt")) Items.Add(Convert::ToString(DateTime::Now)) for(int ni=0 niControls->Count ni++) { Items.Add(String::Concat(OrderPanel->Controls[ni]->Controls[0]->Name,"Q", ((NumericUpDown^)OrderPanel->Controls[ni]->Controls[1])->Value)) } IO::File::WriteAllLines(Filename, Items.ToArray()) SendFileTo::MAPI mapi mapi.AddRecipientTo("sst@fcssystem.com") mapi.AddAttachment(Filename) mapi.SendMailPopup("FCS System Order", "Please Write Your Data Here") }

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • ExpressCMS.net(.net2.0PXML)
    ExpressCMS.net,一个国外作者的作品,采用.net2.0+XML架构开发。现在已经绝版了,可供有意的朋友参考。(ExpressCMS.net, a foreign author s work, using. Net2.0+ XML architecture development. Now out of print, available for intentional reference to a friend.)
    2013-08-10 16:01:39下载
    积分:1
  • List Clone
    List的深度复制 浅谈C#中List<T>对象的深度拷贝问题(List Clone Introduction to c # in the List < T > object deep copy of the problem)
    2017-07-17 10:00:57下载
    积分:1
  • PaletteDemo
    采用VC++6.0编写程序,主要功能是创建和使用调色板。(Programming using VC++ 6.0, the main function is to create and use a palette.)
    2015-02-28 01:29:34下载
    积分:1
  • 03572b5b6da7
    利用C++实现了CLIQUE聚类算法,能够运行目标函数的平均时间,计算出评价指标F-measure、NMI以及正确率。计算评价指标的函数在CEMTD源文件中。(CLIQUE clustering with C++)
    2018-05-16 20:25:29下载
    积分:1
  • 一种数码照片降噪的方法
    一个很实用的数码照片降噪的方法,matlab编的,相信对很多图像处理的人都有帮助(A photo process method for noise reduction, written by matlab.)
    2005-07-19 17:59:46下载
    积分:1
  • foreigner writing a Web e
    老外写的一个网页邮件服务器,已经汉化,里面有简单的说明。-foreigner writing a Web e-mail servers, have finished, which has a simple explanation.
    2022-05-15 04:28:17下载
    积分:1
  • AD7060
    说明:  dsp与ad7606 spi通信,实测运行良好(Dsp communicates with ad7606 spi, the measured operation is good)
    2019-03-22 17:14:59下载
    积分:1
  • generation application framework and initialization OLE/COM library environment...
    生成应用程序框架并初始化OLE/COM库环境 创建一个标准 的MFC AppWizard(exe)应用程序,然后在使用ADO数据库的InitInstance函数中初始-generation application framework and initialization OLE/COM library environment to create a standard MFC AppW izard (exe) applications, then use ADO database initial InitInstance function
    2022-01-26 05:26:03下载
    积分:1
  • Visual_Assist_X_10_5_1715
    Visual Assist X 10.5.1715
    2009-06-11 03:27:37下载
    积分:1
  • pcb4
    可实现对进程的模拟管理,用VC编的,结果可间隔一秒显示(can be simulated in the process of management, VC series, the results can be shown at one-second intervals)
    2006-09-17 10:51:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载