登录
首页 » C# » SendToCS

SendToCS

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

  • CodingCourse1
    C#的Excel的类库文件,可以直接调用,对Excel表格进行操作(C# Excel class library file, you can call directly, Excel table operation)
    2017-09-08 10:52:08下载
    积分:1
  • 这个不需要多介绍吧,示范了如何写3层结构的详细例子
    这个不需要多介绍吧,示范了如何编写3层结构的详细例子-need any more on the bar, a demonstration on how to prepare a three-tier structure of the detailed examples
    2022-02-04 07:40:04下载
    积分:1
  • login
    A login script using C#
    2009-07-03 04:19:35下载
    积分:1
  • 一个模拟网络书店的序,具有网络书店的一般功能,包括查阅目录和购买等
    一个模拟网络书店的程序,具有网络书店的一般功能,包括查阅目录和购买等-a simulation network of bookstores procedures, with the general bookstore network functions, including access to catalog and purchase
    2022-01-26 07:59:49下载
    积分:1
  • 2024739
    画图片原理源码程序,调用API函数GetPixel循环取画板坐标点的颜色,再使用画板画点的方法一一画出即成一副图片。(Picture principle source program, call the API function GetPixel cycle takes Sketchpad color coordinate points , then use the drawing board stippled methods eleven Serve draw a picture .)
    2016-11-08 00:10:36下载
    积分:1
  • 5.1-LoginExample 2
    说明:  基于qt,实现简单的登录界面,利用文件操作,有简单的注册、登录、改密、安全锁定等功能。(Based on QT, a simple login interface is realized, and file operation is used. It has simple functions such as registration, login, password change, security lock, etc.)
    2020-07-04 23:19:02下载
    积分:1
  • 一种局域网通讯工具,在局域网通信中,及时快速。包括源代码。
    一个局域网信使工具,在局域网内通信,及时快速。包含源代码,可随意改动。-a LAN messenger tool in LAN communications, timely fast. Includes source code can be altered arbitrarily.
    2023-08-14 07:35:02下载
    积分:1
  • 新科库存管理系统
    新科库存管理系统~1、问题描述(功能要求): 新科公司现有以下设备:普通电视机、DVD、带DVD的电视机,带DVD的电视机的售价为普通电视机和DVD单价之和的80%,要求对所有的库存设备都能按照品名进行显示、查找、增加和删除、保存的功能。 (new branch inventory management system to a problem description (functional requirements) : existing and new companies the following equipment : ordinary TV, DVD, TV with DVD, DVD TV with the price of ordinary TV and DVD priced sum of the 80% required for all stocks equipment is in accordance with the description of that search, and delete increase, the depositary functions.)
    2005-09-02 11:56:40下载
    积分:1
  • serial
    用C#编写的串口助手,源码,并有波形显示,保存数据;自动识别串口,二进制,十进制,16进制发送;等功能。(Written in C# serial assistant, source, and waveform display, save the data automatically identify serial, binary, decimal, hexadecimal sent other functions.)
    2014-04-11 13:51:15下载
    积分:1
  • vc_calendar_software_source_code_written_in_compac
    vc编写的小巧日历软件源码vc calendar software source code written in compact(vc small calendar software source code written in vc calendar software source code written in compact)
    2010-08-06 22:43:24下载
    积分:1
  • 696518资源总数
  • 105885会员总数
  • 31今日下载