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

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

admin2年前 (2025-03-21)技术分享2302
$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发送” 的相关文章

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

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

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

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

系统小技巧:微软版“Ghost” Windows FFU 系统安装还原

系统小技巧:微软版“Ghost” Windows FFU 系统安装还原

在日常的维护中,系统的备份和还原是大家经常需要操作的事情。虽然Windows 10已经提供很多的工具,如系统还原、WIM备份/还原,VHD备份等。不过这些工具大多是基于文件的备份/还原。我们以前经常的使用的Ghost则是基于扇区的备份/还原…

安卓模拟器连接端口 及常用命令

下面是我总结和测试通过的:有的是搜集来的模拟器名称                     &nbs…

Chrome 最全历史版本下载以及chromedriver下载

https://vikyd.github.io/download-chromium-history-version/#/ https://dl.lancdn.com/landian/soft/chrome/m/ chromedriver的版…

apicloud影视APP源码 无需后台

apicloud影视APP源码 无需后台

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

发表评论

访客

看不清,换一张

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