没有项目描述

pserver.mailer的Python项目详细描述


……



>pserver.mailer








=









>psserver.mailer”],
“mailer”:{
“mailer”:“默认发件人”:“foo@bar.com”,
“端点”:
“端点”:“默认”:{
“默认”:“类型”:“类型”:“{





<




<<“smtp”,
“host”:“localhost”,
“port”:25
}
}
}
}



printing mailer
----


对于开发/调试,可以使用控制台打印mailer::

“applications”:[“pserver.mailer”],
“mailer”:{
“default sender”:“foo@bar.com”,
“endpoints”:{
“default”:{
“type”:“smtp”,
“host”:“localhost”,
“port”:25
}
},
“utility”:“pserver.mailer.utility.printingMailerUtility”
}



----


post http://localhost:8080/zodb/plone/@mailer

{
“sender”:“foo@bar.com”,
“recipient”:“john@doe.com”,
“subject”:“某个主题”,
“text”:“hello”
}



----

只分配了“plone.siteadmin”角色。



mailer.send(recipient='john@doe.com',subject='this is my subject',text='body of email')


1.0.0(2017-02-01)
----


-初始版本

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java IntelliJ找不到依赖项选项卡   java向字符串数组string[]添加元素并在Junit中测试结果   如何在eclipse中获取活动java项目的名称   如何使用java在mysql中插入时间   java ArrayList更新了插入一行,但Jtable仍然没有刷新   如何在JavaSwing中命名坐标(点)   java Matcher/模式不打印   java错误地设置了arraylist   使用UsernamePasswordCredential提供程序的java列表Azure AD   java在HTTP请求中设置UTC时间   未加载事件:jquery完整日历Java集成   java Maven插件依赖项无法从内部repo解析依赖项   Maven更新重置Java版本   java如何向中添加图片。带有Apache POI XWPF的docx,但不指定其大小   Java最大函数递归