接入SendCloud服务——Web API 表单示例
来源:互联网 发布:mtv下载精灵软件 编辑:程序博客网 时间:2024/06/05 02:23
<html>
<head>
<title>send mail by post</title>
<meta http-equiv="Content-Type"content="text/html;charset=UTF-8">
<style>
*{ margin:0; padding:0; font-size:18px;}
.send{ width:1200px;padding:20px 0}
.text{width:400px;}
.send h1{ font-size:30px; padding-bottom:10px}
</style>
</head>
<body>
<div class="send">
<form action="https://sendcloud.sohu.com/webapi/mail.send.json?use_maillist=true" method="post" enctype="multipart/form-data">
<h1> 邮件发送</h1>
<table>
<tr><td align="right" ><strong style="color:red">*</strong>api_user: </td><td><input style="width:400px;" type="text" name="api_user"/></td></tr>
<tr><td align="right" ><strong style="color:red">*</strong>api_key: </td><td><input class="text" type="text" name="api_key" /></td></tr>
<tr><td align="right" ><strong style="color:red">*</strong>use_maillist: </td><td><input class="text" type="text" name="use_maillist" value="true"/><span style="font-size:small;color:#f60;font-weight:bold;">(注:使用邮件列表时,use_maillist设为true,不使用设为false)</span></td></tr>
<tr><td align="right" ><strong style="color:red">*</strong>收件人邮箱: </td><td> <input class="text" type="text" name="to"/><span style="font-size:small;color:#f60;font-weight:bold;">(注:use_maillist为true时,输入邮箱列表名,否则输入邮箱地址,两个邮箱地址之间有分号隔开)</span></td></tr>
<tr><td align="right" ><strong style="color:red">*</strong>发件人邮箱: </td><td> <input class="text" type="text" name="from"/></td></tr>
<tr><td align="right" >发件人姓名: </td><td> <input class="text" type="text" name="fromname"/></td></tr>
<tr><td align="right" >回复人邮箱: </td><td> <input class="text" type="text" name="replyto"/></td></tr>
<tr><td align="right" >抄送人邮箱: </td><td> <input class="text" type="text" name="cc"/></td></tr>
<tr><td align="right" >密送人邮箱: </td><td> <input class="text" type="text" name="bcc"/></td></tr>
<tr><td align="right" ><strong style="color:red">*</strong>邮件主题: </td><td> <input class="text" type="text" name="subject"/></td></tr>
<tr><td align="right" ><strong style="color:red">*</strong>邮件内容: </td><td> <textarea rows="10" cols="41" name="html"></textarea></td></tr>
<tr><td></td><td><input type="submit" value="Submit" class="submit"/></td></tr>
</form>
</div>
</body>
<head>
<title>send mail by post</title>
<meta http-equiv="Content-Type"content="text/html;charset=UTF-8">
<style>
*{ margin:0; padding:0; font-size:18px;}
.send{ width:1200px;padding:20px 0}
.text{width:400px;}
.send h1{ font-size:30px; padding-bottom:10px}
</style>
</head>
<body>
<div class="send">
<form action="https://sendcloud.sohu.com/webapi/mail.send.json?use_maillist=true" method="post" enctype="multipart/form-data">
<h1> 邮件发送</h1>
<table>
<tr><td align="right" ><strong style="color:red">*</strong>api_user: </td><td><input style="width:400px;" type="text" name="api_user"/></td></tr>
<tr><td align="right" ><strong style="color:red">*</strong>api_key: </td><td><input class="text" type="text" name="api_key" /></td></tr>
<tr><td align="right" ><strong style="color:red">*</strong>use_maillist: </td><td><input class="text" type="text" name="use_maillist" value="true"/><span style="font-size:small;color:#f60;font-weight:bold;">(注:使用邮件列表时,use_maillist设为true,不使用设为false)</span></td></tr>
<tr><td align="right" ><strong style="color:red">*</strong>收件人邮箱: </td><td> <input class="text" type="text" name="to"/><span style="font-size:small;color:#f60;font-weight:bold;">(注:use_maillist为true时,输入邮箱列表名,否则输入邮箱地址,两个邮箱地址之间有分号隔开)</span></td></tr>
<tr><td align="right" ><strong style="color:red">*</strong>发件人邮箱: </td><td> <input class="text" type="text" name="from"/></td></tr>
<tr><td align="right" >发件人姓名: </td><td> <input class="text" type="text" name="fromname"/></td></tr>
<tr><td align="right" >回复人邮箱: </td><td> <input class="text" type="text" name="replyto"/></td></tr>
<tr><td align="right" >抄送人邮箱: </td><td> <input class="text" type="text" name="cc"/></td></tr>
<tr><td align="right" >密送人邮箱: </td><td> <input class="text" type="text" name="bcc"/></td></tr>
<tr><td align="right" ><strong style="color:red">*</strong>邮件主题: </td><td> <input class="text" type="text" name="subject"/></td></tr>
<tr><td align="right" ><strong style="color:red">*</strong>邮件内容: </td><td> <textarea rows="10" cols="41" name="html"></textarea></td></tr>
<tr><td></td><td><input type="submit" value="Submit" class="submit"/></td></tr>
</form>
</div>
</body>
</html>
【效果预览】
0 0
- 接入SendCloud服务——Web API 表单示例
- Python Web中REST API使用示例——基于云平台+云服务打造自己的在线翻译工具
- Laravel 5.4 整合SendCloud邮件服务
- web api示例
- ArcGIS Web API 接入E都市瓦片
- ArcGIS Web API 接入天地图瓦片
- Java API——RMIIO入门教程(2)远程流传输示例之RMIIO服务源码
- 使用ASP.NET Web Api构建基于REST风格的服务实战系列教程【三】——Web Api入门
- sendcloud的api调用时可能出现的问题
- 手机——未来的服务接入点
- 手机——未来的服务接入点
- OPEN API平台测试之Restful服务接入
- Google Map Web服务API
- Google Map Web服务API
- Google Map Web服务API
- abp构建Web API服务
- flask——web表单
- web——表单验证
- boa源码分析(1)--Makefile
- 策略模式(Strategy Pattern)小结
- [linux]nginx入门
- (完全背包)动态规划1068乌龟棋
- 黑马程序员 - 学习笔记6 变量 数据类型 与 常量
- 接入SendCloud服务——Web API 表单示例
- 根据年份获取周次,根据周次获取日期范围,获取当前年份,周次列表信息。
- apache的访问日志研究
- vector动态二维数组(容器的容器)占用内存分析
- AC自动机模板
- UML类图几种关系的总结
- boa 源码分析(2)--关于Boa和CGI
- 非10进制在Java中的应用
- redis持久化,主从及数据备份