【文件属性】:
文件名称:mail:通过邮件发送消息
文件大小:46KB
文件格式:ZIP
更新时间:2021-04-08 17:02:54
PHP
RD_Mail
通过邮件发送消息
传送讯息
RD_Mail :: call ()
-> from ( $ mail_from , $ mail_from_name )
-> subject ( $ subject )
-> message ( $ message )
-> send ( $ mail_to )
;
$ mail_from-发件人邮箱
$ mail_from_name-发件人名称
$ subject-信件的主题
$ message-消息正文
$ mail_to-收件人邮箱
附加文件
-> attach_file ( $ file_name_full , $ file_name )
$ file_name_full-附件的路径
$ file_name-字母中文件的名称
在电子邮件正文中添加图片
-> insert_img ( $ id , $ file_na
【文件预览】:
mail-main
----composer.json(494B)
----example()
--------index.php(1KB)
--------file()
----LICENSE(1KB)
----src()
--------mail_addon.php(857B)
--------mail.php(32KB)
--------autoload.php(122B)
--------aliases.php(249B)
----README.md(1KB)