Permalink
Browse files

dd

  • Loading branch information...
1 parent af82aed commit 1a8d2d2a31874cff142da351c1af64934140babd sunxinyu committed Feb 24, 2016
Showing with 8 additions and 7 deletions.
  1. +4 −0 static/htmljs-year-2015.html
  2. +4 −7 tools/email.coffee
@@ -124,4 +124,8 @@
<p style="border-top:1px solid #ddd;font-size:12px;padding-top:10px;color:#999;" class="title" ><a href="http://www.html-js.com">行业合作请联系QQ:676588498 注明:乱炖合作</p>
</div>
</div>
+ <script>
+ var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
+ document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F2fc2fae0509f820259c1760fce28d7d2' type='text/javascript'%3E%3C/script%3E"));
+ </script>
</body>
View
@@ -8,18 +8,15 @@ mustache.compileAndRender('./../static/htmljs-year-2015.html', {})
.on 'data',(c)->
buffer += c.toString()
.on 'end',()->
- mail({
+ tplmail({
subject:"[前端乱炖]2015年最受欢迎的20篇[原创]文章",
- to:"test@maillist.sendcloud.org",
-# to:"weekly@htmljs.sendcloud.org",
+# to:"test@maillist.sendcloud.org",
+ to:"weekly@htmljs.sendcloud.org",
use_maillist:"true",
api_user:config.mail.api_user_list,
api_key: config.mail.api_key_list,
substitution_vars:JSON.stringify({
- to:[email],
- sub:{
-
- }
+ to:[]
}),
template_invoke_name:"year_report",
})

0 comments on commit 1a8d2d2

Please sign in to comment.