manyTool基于阿里云实现的快速发送短信邮件工具包
项目介绍
多平台汇集的sdk,目前实现了基于阿里云api的短信以及邮件的封装,可以实现邮件、国内短信的发送。
基于阿里云已实现功能
邮件发送[√]
国内短信发送[√]
使用参考 //短信 System.out.println(MobileExt.sendMobileSms("***","18912344321","XX助手", "{"oId":"12","words":"45","time":"2018-8-6"}","SMS_136","***"));
//邮件 System.out.println(EmailExt.sendEmail("***", "admin@message.git.com", "rain.yuan@transn.com", "管理员","123","测试邮件","***"));
安装教程
pom.xml 粘贴即可使用。
<dependency> <groupId>com.github.yuanxy</groupId> <artifactId>focus-sdk</artifactId> <version>1.0.0</version> </dependency>
注意如果你项目有用到 httpcomponents 请注意你的版本,如果运行报错,请复制下面的配置到pom.xml
<dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpcore</artifactId> <version>4.3.1</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpmime</artifactId> <version>4.3.1</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient-cache</artifactId> <version>4.3.1</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.3.1</version> </dependency> <!--apacheHttp-->
使用说明
确认 pom.xml 添加了 focus-sdk 的配置信息
阿里短信 MobileExt.sendMobileSms("","","","","","");
阿里邮件 EmailExt.sendEmail("","","","","","","");
评论
luanfa sms短信发送工具包
本软件可乱发短信——乱发是开玩笑的,发短信的确是真的。可以少量发发短信,用程序玩玩短信网关,把你闲置的低配置Android手机变成短信网关。神马飞信,神马网关,老子一条json就搞定:http://g
luanfa sms短信发送工具包
0
aliyunMsgthinkphp 集成阿里云发送短信验证码
aliyunMsg:thinkphp 集成阿里云发送短信验证码。配置信息:sendSMS.php
aliyunMsgthinkphp 集成阿里云发送短信验证码
0
aliyunMsgthinkphp 集成阿里云发送短信验证码
aliyunMsg:thinkphp集成阿里云发送短信验证码。配置信息:sendSMS.php 配置key等参数,在需要调用发送短信验证码是位置调用$msg=newSendsms();$tel='12
aliyunMsgthinkphp 集成阿里云发送短信验证码
0
大公司的短信发送服务都是怎么实现的?
先声明下,利益相关,因为服务的客户里面刚好就有淘宝和京东,顺丰,艺龙等。要回答这个问题,先看看这个图。
大部分公的短信服务都是这样的模式。
1、首先企业应用层、这里面就很多啦,验证码啦,订单通知啦,反正各种需要应用到短信服务的。各行各业都不一样,比如顺丰下单收件通知,签收短信等。
2、一般都设有短信服务器,对信息进行优先排列,提交到通道,进行上行短信接收,状态接收等。大的公司甚至有自己的MAS服务器。
3、短信提交有的是通过第三方,第三方一般是10690开头的三网通道,走第三方优势是价格便宜,通道资源丰富,一般第三方都在全国多个省份,多个运营商落地。短信服务器提交到第三方通道大部分走公网。IP绑定等方式解决安全性问题。
4、有的是自
何先生
0