email test

This commit is contained in:
wangjinlei
2025-06-16 11:10:50 +08:00
parent 5e5e4a5515
commit d4cccae60c

View File

@@ -229,23 +229,13 @@ class Email extends Base
public function myPush(){ public function myPush(){
// phpinfo();die; $journal_info = $this->journal_obj->where("journal_id",23)->find();
// $data = $this->request->post(); $edata['email'] = "751475802@qq.com";
// $rule = new Validate([ $edata['title'] = "Notice: Merger of Natural Therapy Advances and Food and Health into Integrative Medicine Discovery";
// "email"=>"require", $edata['content'] = "test content";
// "title"=>"require", $edata['tmail'] = $journal_info['email'];
// "content"=>"require" $edata['tpassword'] = $journal_info['epassword'];
// ]); Queue::push('app\api\job\mail@fire', $edata, "tmail");
// if(!$rule->check($data)){
// return jsonError($rule->getError());
// }
$data['email'] = "751475802@qq.com";
$data['title'] = "test title";
$data['content'] = "content";
echo sendMyEmail($data['email'],$data['title'],$data['content']);
} }