UNPKG

iot-sol

Version:

Intel(r) IoT Services Orchestration Layer - HTML5 IDE + Node.js middleware to create and host distributed IoT Apps in minutes

54 lines (52 loc) 2.46 kB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta name="generator" content="pandoc" /> <meta name="author" content="Copyright 2015 Intel Corporation All Rights Reserved." /> <title>IoT Services Orchestration Layer</title> <style type="text/css">code{white-space: pre;}</style> <link rel="stylesheet" href="styles/style.css" type="text/css" /> </head> <body> <div id="header"> <h1 class="title">IoT Services Orchestration Layer</h1> <h2 class="author">Copyright 2015 Intel Corporation All Rights Reserved.</h2> </div> <div id="TOC"> <ul> <li><a href="#邮件服务">邮件服务</a><ul> <li><a href="#发邮件">发邮件</a><ul> <li><a href="#描述">描述</a></li> <li><a href="#配置">配置</a></li> <li><a href="#输入">输入</a></li> <li><a href="#输出">输出</a></li> <li><a href="#样例">样例</a></li> </ul></li> </ul></li> </ul> </div> <h1 id="邮件服务">邮件服务</h1> <h2 id="发邮件">发邮件</h2> <h3 id="描述">描述</h3> <p>通过某个邮件服务商,向某个收件人发送邮件</p> <p>内部通过<a href="https://github.com/nodemailer/nodemailer">nodemailer</a>模块实现</p> <p>现阶段只支持纯文本内容,并不支持网络代理</p> <h3 id="配置">配置</h3> <p><code>service</code>: 字符串 必填项 你的邮件服务商,比如Gmail,QQ,126,163,Hotmail,iCloud等,详见<a href="https://github.com/nodemailer/nodemailer-wellknown/blob/master/services.json">nodemailer-wellknown</a></p> <p><code>account</code>: 字符串 必填项 你的邮箱地址</p> <p><code>passwd</code>: 字符串 必填项 你的邮箱密码(客户端密码,可能与登录密码不同)</p> <p><code>receiver</code>: 字符串 必填项 收件人地址</p> <h3 id="输入">输入</h3> <p><code>text</code>: 字符串 邮件内容</p> <p><code>subject</code>: 字符串 邮件标题</p> <h3 id="输出">输出</h3> <p><code>status</code>: 布尔值 如果发送成功,输出true,反之输出false</p> <h3 id="样例">样例</h3> <div class="figure"> <img src="./pic/email.zh-CN.jpg" /> </div> <p>图中用户(hope@126.com)向 hope@intel.com 发了邮件。邮件标题为“this is a title”,内容为“this is a text”的邮件</p> </body> </html>