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

admin9个月前 (03-21)技术分享915
$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发送” 的相关文章

发表评论

访客

看不清,换一张

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