<?php
// 接收值
$toman=$_POST['toman'];
$titles=$_POST['title'];
$contents=$_POST['content'];
$fromman=$_POST['fromman'];
//引入类
require 'Mail.class.php';
if( Mail::send($titles,$contents,$fromman,$toman)){
echo "发送成功";
}else{
echo "发送失败".'<br>';
echo Mail::$error;
}
?>
mail_send.php
最新推荐文章于 2024-04-24 08:52:09 发布