邮件修改
This commit is contained in:
@@ -406,8 +406,6 @@ class Auto extends Controller {
|
||||
|
||||
$sendUser=[
|
||||
'title'=> $journal_info['title'], // 邮件标题
|
||||
'user_id'=>$article['editor_id'], //收件人ID
|
||||
'email'=>$editor_info['email'],// 收件人邮箱
|
||||
'journal_id'=>$article['journal_id'], // 期刊ID
|
||||
'sendEmail'=>$journal_info['email'], // 期刊邮箱
|
||||
'sendPassword'=>$journal_info['epassword'], // 期刊密码
|
||||
@@ -419,6 +417,9 @@ class Auto extends Controller {
|
||||
$tt = 'Dear editor,<br>';
|
||||
$tt .= 'There are no enough research area related reviewers in the reviewer list for manuscript ID ' . $article['accept_sn'] . ', please add reviewers for your journal or manual deal with this problem.<br><br>';
|
||||
$tt .= 'TMR Publishing Group';
|
||||
|
||||
$sendUser['user_id'] = $editor_info['editor_id'];
|
||||
$sendUser['email'] = $editor_info['email'];
|
||||
$sendUser['content'] = $tt;
|
||||
Queue::push('app\api\job\domail@fire',$sendUser,'domail');
|
||||
//sendEmail($editor_info['email'], $journal_info['title'], $journal_info['title'], $tt, $journal_info['email'], $journal_info['epassword']);
|
||||
@@ -463,6 +464,8 @@ class Auto extends Controller {
|
||||
$tt .= 'Email:' . $journal_info['email'] . '<br>';
|
||||
$tt .= 'Website:' . $journal_info['website'];
|
||||
|
||||
$sendUser['user_id'] = $reviewer_info['editor_id'];
|
||||
$sendUser['email'] = $reviewer_info['email'];
|
||||
$sendUser['content'] = $tt;
|
||||
Queue::push('app\api\job\domail@fire',$sendUser,'domail');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user