|
6#
楼主 |
发表于 2013-5-24 10:03:15
|
只看该作者
找到可以正常录制脚本的方法了,正确录制的脚本如下- Action()
- {
- smtp1 = 0;
- smtp_logon_ex(&smtp1, "SmtpLogon",
- "URL=smtp://163.177.65.211",
- "LogonUser=mengwo823@qq.com",
- "LogonPass=******",
- "CommonName=LoadRunner User",
- LAST);
- smtp_send_mail_ex(&smtp1, "SendMail",
- "To=1036191983@qq.com",
- "From=<389034259@qq.com> SIZE=1614",
- "Subject==?gb2312?B?1eLKx9K7t+Ky4srU08q8/g==?=",
- "ContentType=multipart/alternative;",
- MAILOPTIONS,
- "From: meng <mengwo823@qq.com>",
- "To: =?gb2312?B?0KHQoQ==?= <caomo123@qq.com>",
- "Reply-To: 389034259 <mengwo823@qq.com>",
- "X-Priority: 3",
- "X-Has-Attach: no",
- "X-Mailer: Foxmail 7.0.1.92[cn]",
- MAILDATA,
- "AttachRawFile=mailnote1_01.dat",
- "AttachRawFile=mailnote1_02.dat",
- LAST);
- smtp_logout_ex(&smtp1);
- smtp_free_ex(&smtp1);
- return 0;
- }
复制代码 具体方法请参照附件文档的特殊录制脚本方法介绍(不知道这里怎么附加附件,就放到1楼了……),希望可以帮助后来的人O(∩_∩)O~ |
|