-
这一代码发送电子邮件的附件很容易。
This 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")
- 2022-01-26 07:38:06下载
- 积分:1
-
Maxspace Studio Package
Maxspace Studio Package
- 2022-07-21 17:45:41下载
- 积分:1
-
这个程序是利用概率算法求一个函数得积分。
这个程序是利用概率算法求一个函数得积分。-the procedure is the use of probabilistic algorithm for a function in the integral.
- 2023-01-18 13:35:03下载
- 积分:1
-
此算术表达式能够在程序运行时根据输入的变量大小和算术表达式动态解析表达式,得到运算结果。支持多项算术运算符和数学函数如下:: +...
此算术表达式能够在程序运行时根据输入的变量大小和算术表达式动态解析表达式,得到运算结果。支持多项算术运算符和数学函数如下:: + - * / ^ ( ) mod abs, atan, cos, exp, ln, round, sin, sqrt, sqr, trunc 例如设定a1和a2的大小,就可计算下列表达式: exp(sin(a1)*cos(a2))操作系统: Visual C++语言 -this arithmetic expression in accordance with the procedures in the importation of variable size and arithmetic expressions dynamic analytical expression to be Operational results. Support for a number of arithmetic operations and mathematical functions are as follows : :-*/^ () mod abs, atan, cos, exp, ln, round, sin, sqrt, sqr, for example, to set trunc a1 and a2 the size, can be calculated by the following formula : exp ( sin (a1)* cos (a2)) Operating System : Visual C language
- 2023-03-14 14:10:03下载
- 积分:1
-
POJ解题报告,包括对题目的分析,算法优略的评述,多种方法的提供...
POJ解题报告,包括对题目的分析,算法优略的评述,多种方法的提供-POJ Solution report, including analysis of the topic, the algorithm slightly superior to the comments of the various methods available
- 2022-02-21 12:54:07下载
- 积分:1
-
一个MFC的简单学生成绩数据库管理系统,适合初学者参考。
一个MFC的简单学生成绩数据库管理系统,适合初学者参考。-A simple MFC database management system for student achievement
- 2022-01-25 15:22:54下载
- 积分:1
-
Describe Describe Describe Describe
Describe Describe Describe-Describe Describe Describe Describe
- 2022-04-26 13:22:57下载
- 积分:1
-
can automatically implement the sale of watermelon, to test whether the watermel...
能自动实行买卖西瓜,能够检验是否已经卖完西瓜-can automatically implement the sale of watermelon, to test whether the watermelon has sold off
- 2022-08-17 17:03:52下载
- 积分:1
-
汇编经典 经典的实验代码 欢迎使用
汇编经典 经典的实验代码 欢迎使用...
汇编经典 经典的实验代码 欢迎使用
汇编经典 经典的实验代码 欢迎使用-Compilation of test code classic classic classic classic Welcome to the compilation of the experimental code Welcome
- 2022-01-22 01:09:19下载
- 积分:1
-
一个用C++ Builder6编写的控件,大家可以参考参考
一个用C++ Builder6编写的控件,大家可以参考参考-One with C++ Builder6 prepared controls, you can refer to reference
- 2022-09-27 01:55:02下载
- 积分:1