退休发送邮件给通讯作者
This commit is contained in:
@@ -1514,7 +1514,7 @@ class Article extends Base
|
||||
$tt .= 'Sincerely,<br>Editorial Office<br>';
|
||||
} else if ($data['state'] == 4) { //退修
|
||||
$tt = $article_info['accept_sn'] . "——" . $article_info['title'] . "<br/>";
|
||||
$tt .= 'Dear Dr. ' . ($user_info['realname'] == '' ? $user_info['account'] : $user_info['realname']) . ',<br>';
|
||||
$tt .= 'Dear Dr. <br>';
|
||||
$tt .= "Thank you for submitting the manuscript to " . $journal_info['title'] . ".<br/>";
|
||||
$tt .= "The reviewers have given professional comments and suggestions on your manuscript which you can find in the <a href='https://submission.tmrjournals.com'>Author Center</a>. Please submit your revised manuscript within two weeks in the manuscript central. And please mark all modification in blue and reply the reviewer's comments one by one.<br/><br/>";
|
||||
$tt .= "If you need more time or you have any other plans for this manuscript, please feel free to e-mail us in time.<br/><br/>";
|
||||
@@ -1557,6 +1557,13 @@ class Article extends Base
|
||||
$tt .= 'Website: ' . $journal_info['website'];
|
||||
if ($data['state'] == 4) {
|
||||
sendEmail($user_info['email'], $journal_info['title'], $journal_info['title'], $tt, $journal_info['email'], $journal_info['epassword'], ROOT_PATH . 'public' . DS . 'system' . DS . 'Checklist_new.docx');
|
||||
|
||||
//给通讯作者也要发送
|
||||
$authors = $this->article_author_obj->where("article_id",$article_info['article_id'])->where("state",0)->where("is_report",1)->select();
|
||||
foreach ($authors as $vv){
|
||||
sendEmail($vv['email'], $journal_info['title'], $journal_info['title'], $tt, $journal_info['email'], $journal_info['epassword'], ROOT_PATH . 'public' . DS . 'system' . DS . 'Checklist_new.docx');
|
||||
}
|
||||
|
||||
} else {
|
||||
sendEmail($user_info['email'], $journal_info['title'], $journal_info['title'], $tt, $journal_info['email'], $journal_info['epassword']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user