登录
首页 » C# » SendToCS

SendToCS

于 2009-09-23 发布 文件大小:46KB
0 116
下载积分: 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 个回复

  • 88988898
    一个GPRS开发的例子,稍做修改,就可用在自己的项目中(The development of a GPRS example, some small modifications, you can use in their own projects)
    2008-12-25 16:51:58下载
    积分:1
  • 众所周知 基于使用RawSocket无法实现监听本机发送的数据 本代码实现了 基于SPI监听所发送数据的功能...
    众所周知 基于使用RawSocket无法实现监听本机发送的数据 本代码实现了 基于SPI监听所发送数据的功能 -As we all know can not be achieved based on the use of eavesdropping RawSocket send the local data of the code based on the SPI to monitor the function of sending data
    2022-07-08 03:09:49下载
    积分:1
  • WinSocket 指南,对人员有一定的帮助
    WinSocket 编程指南,对编程人员有一定的帮助-Winsocket Programming Guide, the programming staff can help
    2022-05-05 19:49:54下载
    积分:1
  • Lucent's RTP station, with good performance.
    Lucent 的RTP 协议站,具有不错的性能。-Lucent"s RTP station, with good performance.
    2023-07-12 12:35:03下载
    积分:1
  • reader
    实现verilog读写txt文件,从sut.txt从读取数据,进行操作后,写入out.txt(Realize verilog read and write txt file)
    2020-11-15 21:29:41下载
    积分:1
  • 一个超
    一个体积超小的在线编辑器,UBB里经常用到-an ultra-small size of the online editor, frequently used UBB
    2023-06-16 23:15:03下载
    积分:1
  • juzhu
    计算机组成原理(蒋本珊)教师用书(含课后答案),各尽其用吧(Principles of Computer Organization (Jiang Shan this) Teacher s Book (including after-school answer))
    2015-01-11 13:54:36下载
    积分:1
  • yac-0.16-src-win32
    about tapi component
    2012-11-07 19:01:30下载
    积分:1
  • AGPS-position
    AGPS定位基本原理浅析,AGPS(Assisted GPS,A-GPS,网络辅助GPS)定位技术结合了GPS定位和蜂窝基站定位的优势,借助蜂窝网络的数据传输功能,可以达到很高的定位精度和很快的定位速度,在移动设备尤其是手机中被越来越广泛的使用。(AGPS positioning the basic principles of analysis, AGPS (Assisted GPS, A-GPS, network-assisted GPS) positioning technology combines GPS positioning and cellular base station location advantage, with data transmission function of the cellular network, can achieve high positioning accuracy and very fast positioning speed, especially in the mobile phone devices are more widely used.)
    2014-04-13 03:43:34下载
    积分:1
  • 根据本机所处网络(本机IP与掩码进行判断)进行搜索本机所处网络里的主机。目前支持聊天及消息传送,主要用于校园网...
    根据本机所处网络(本机IP与掩码进行判断)进行搜索本机所处网络里的主机。目前支持聊天及消息传送,主要用于校园网-under the machine where Network (IP of the machine and mask judgment) conducted a search of the plane where network"s mainframe. Current support chat and messaging, mainly for the campus network
    2022-01-24 15:18:49下载
    积分:1
  • 696518资源总数
  • 106174会员总数
  • 31今日下载