1. 首页
  2. 数据库
  3. 其它
  4. php发送html格式文本邮件的方法

php发送html格式文本邮件的方法

上传者: 2021-01-10 22:09:24上传 PDF文件 31.8KB 热度 8次
本文实例讲述了php发送html格式文本邮件的方法。分享给大家供大家参考。具体实现方法如下: <?php $to = "simon@mailexample.com, elaine@mailexample.com"; //设置收件人 $subject = "This is a test"; //设置E-mail主题 //设置E-mail内容: $message = " <html> <head> <title>This is a test</title> </head> <body> Dear all,
下载地址
用户评论