当前位置:首页 > 技术分享

SMTPMailer php发送邮件类,api接口,支持ssl,html发送

admin10个月前 (03-21)技术分享932
$url='http://localhost/smtpmailer/index.php';
$param=array(
    'host'=>'smtp.163.com',
    //'port'=>456,
    'username'=>'发送账号',
    'password'=>'发送账号的密码或者授权码',
    'from'=>'发送邮箱',
    'to'=>'接收邮箱',
    'subject'=>'邮件标题',
    'message'=>'邮件内容<b>hello word</b>',
    
    'is_html'=>1,
);
$res = curlget($url,$param,'POST');
$res = json_decode($res,1);
var_export($res);

开源地址:https://gitee.com/web/smtpmailer

扫描二维码推送至手机访问。

版权声明:本文由小刚刚技术博客发布,如需转载请注明出处。

本文链接:https://blog.bitefu.net/post/662.html

分享给朋友:

“SMTPMailer php发送邮件类,api接口,支持ssl,html发送” 的相关文章

mysql update不支持set子查询更新 的解决办法

mysql update不支持set子查询更新 的解决办法

先看示例:SELECT uin,account,password,create_user_uin_tree FROM sys_user结果:表中的create_user_uin_tree标识该条记录由谁创建。创…

php高效检测远程图片是否存在

php高效检测远程图片是否存在function img_exits($url){     $ch = curl_init();    &…

解决 SVN Skipped 'xxx' -- Node remains in conflict

更新命令:svn up提示代码:意思就是说 ,这个文件冲突了,你要解决下Updating '.': Skipped 'data/config.php' -- …

PIP 更换国内安装源linux/windows

pip国内的一些镜像  阿里云 http://mirrors.aliyun.com/pypi/simple/   中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/   豆瓣(…

七牛html js上传带进度条源码

七牛html js上传带进度条源码注册链接https://s.qiniu.com/uM7RJv完整代码下载:https://n802.com/f/349707-489018989-c141f6(访问密码:5036)http://www.yi…

apicloud影视APP源码 无需后台

apicloud影视APP源码 无需后台

介绍集合vip影视接口到一个android app中 方便观看各平台影视资源及直播开源地址:https://gitee.com/web/vip_yingshi软件架构使用apicloud搭建影视APP源码,无后台,调用接口同步api解析网址…

发表评论

访客

看不清,换一张

◎欢迎参与讨论,请在这里发表您的看法和观点。