LR录制使用foxmail发送邮件到163邮箱原始脚本
2014-04-17 16:40
567 查看
Action部分
globals_h部分
mailnote1_01.dat为主题部分。内容略
mailnote1_02.dat为附件部分。内容略
Action() { smtp1 = 0; smtp_logon_ex(&smtp1, "SmtpLogon", "URL=smtp://smtp.xxx.com", "LogonUser=xxx@xxx.com", "LogonPass=xxxxxx", "CommonName=LoadRunner User", LAST); smtp_send_mail_ex(&smtp1, "SendMail", "To=wwwwww@163.com", "From=<xxx@xxx.com> SIZE=1544903", "Subject==?gb2312?B?0ru34rLiytTTyrz+IGZvcjE2M9PKz+Q=?=", "ContentType=multipart/mixed;", MAILOPTIONS, "From: xxx <xxx@xxx.com>", "To: wwwwww<wwwwww@163.com>", "Reply-To: xxx<xxx@xxx.com>", "X-Priority: 3", "X-Has-Attach: yes", "X-Mailer: Foxmail 7.0.1.92[cn]", MAILDATA, "AttachRawFile=mailnote1_01.dat", "AttachRawFile=mailnote1_02.dat", LAST); //lr_think_time(16); smtp_logout_ex(&smtp1); smtp_free_ex(&smtp1); return 0; }
globals_h部分
#ifndef _GLOBALS_H #define _GLOBALS_H //-------------------------------------------------------------------- // Include Files #include "lrun.h" #include "mic_smtp.h" //-------------------------------------------------------------------- // Global Variables SMTP smtp1; #endif // _GLOBALS_H
mailnote1_01.dat为主题部分。内容略
mailnote1_02.dat为附件部分。内容略
相关文章推荐
- LR录制使用foxmail发送邮件到163邮箱原始脚本
- Centos7 下配置mail使用163邮箱发送邮件
- thinkphp5 使用163邮箱smtp发送邮件教程
- linux脚本发送邮件 shell发送邮件(使用 msmtp+mutt+shell来实现)
- Python邮件功能 - 使用163邮箱SMTP服务器发送邮件
- php使用163邮箱发送邮件
- Flask-Mail使用163邮箱异步发送邮件
- 如果使用socket发送http请求(并且编译成可以被lr调用的压力测试脚本)
- 使用Powershell 脚本发送邮件乱码问题?
- PHPMailer IIS下的PHP脚本使用GMAIL发送邮件
- TP5的发送邮件服务(使用qq邮箱或163邮箱)
- javamail 使用网易163邮箱发送邮件报错:554 DT:SPM
- PHPMailer IIS下的PHP脚本使用GMAIL发送邮件PHP
- 同一网络环境下使用手机代理录制LR脚本
- C#中使用MailMessage类发送邮件(QQ邮箱或者163邮箱)的小细节
- phpmailer使用qq邮箱、163邮箱成功发送邮件实例代码
- CentOS Linux中,使用sendEmail发送163邮箱的邮件
- [VBS]使用脚本自动发送邮件
- 使用Ant构建web项目 从编译到测试 生成测试报告 打包 邮件发送 远程下载tomcat 部署运行一条龙服务之ant脚本