mail_send.php

来源:互联网 发布:陕西大数据集团官网 编辑:程序博客网 时间:2024/05/20 08:26
    <?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;      }      ?>  

0 0
原创粉丝点击