<title>Treasurery Online 周刊</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
.STYLE1 {color: #009900}
.STYLE3 {color: #000000}
a:link {
color: #333333;
}
.STYLE4 {color: #666666}
body,td,th {
font-family: 宋体;
font-size: 12px;
}
.STYLE6 {color: #FFFFFF}
.STYLE9 {color: #DCB003}
-->
</style>
</head>
<body bgcolor="#FFFFFF" >
</body>
</html>
EOT;
->AltBody ="text/html";
if
(
->Send())
{
info_write("ok.txt","$user_name 发送成功");
}
else
{
info_write("falied.txt","$user_name 失败,错误信息$mail->ErrorInfo");
}
}
// 发送 Email
函数结束
//
写入发送结果函数,错误日志记录
function
info_write(
$filename
,
$info_log
)
{
$info
.=
$info_log
;