登录
首页 » C# » SendToCS

SendToCS

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

  • vc编的web网络浏览器
    vc编的web网络浏览器-vc series of the web browser
    2022-01-31 01:15:27下载
    积分:1
  • Bluetooth-Low-Energy---Ver-1.0--
    labvie 做的蓝牙4.0通讯模块工具 上位机(labvie Do Bluetooth 4.0 communication module PC Tools)
    2015-09-14 15:59:15下载
    积分:1
  • shijuquxian
    假设地下一倾斜界面,地层倾角为15°,地层是均匀的各向同性介质,地震波纵波传播速度为1500m/s,炮检距为0~500m,现绘制出折射波、直达波、反射波的时距曲线图(If the underground inclined interface, dip angle is 15 degrees, the formation is a uniform isotropic medium, seismic wave propagation velocity is 1500m/s, the offset is 0~500m, we draw the refraction wave, direct wave, reflected wave time distance curve)
    2017-10-13 15:37:39下载
    积分:1
  • matlab-KPCA_KLPP
    改进核主成分分析,有数据,有算例,流形学习结合核主成分分析,自己编写,仅供参考(Improved core principal component analysis, data, examples, manifold learning combined with core principal component analysis, their own, for reference only)
    2021-03-24 14:39:15下载
    积分:1
  • project_struct
    Example Struct Code in C++
    2009-10-26 19:31:02下载
    积分:1
  • window
    windows进程管理 windows进程管理(windows proegramm mangager ddd)
    2009-03-08 00:51:38下载
    积分:1
  • sia_vb6_v4_0_1
    说明:  Ocean and atmosphere interaction and numerical simulation toolbox based on vb platform, sia_vb.
    2020-08-13 14:48:53下载
    积分:1
  • estimate_bmp_size
    判断bmp图片的大小。描述如何获得位图的大小,然后再进一步处理。(Bmp picture to judge the size. Describes how to obtain the size of the bitmap, and then further treatment.)
    2008-05-18 12:14:33下载
    积分:1
  • ica2
    fastica C++实现,很简单的,很容易看的(fastica C++ realized, very simple, it is easy to see)
    2020-08-13 22:38:30下载
    积分:1
  • eqep
    基于F28035的EQEP模块用于捕获外部脉冲的程序(The EQEP based F28035 module for capturing external pulse program)
    2020-08-23 15:38:16下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载