邮件发送调整
This commit is contained in:
@@ -110,7 +110,9 @@ class JournalArticle
|
||||
$aSendEmail = [];//['2101' => ['mohammadalipour_z@yahoo.com']];
|
||||
|
||||
foreach ($aAuthor as $key => $value) {
|
||||
|
||||
if(empty($value['is_report']) || (!empty($value['is_report']) && $value['is_report'] != 1)){
|
||||
continue;
|
||||
}
|
||||
//作者邮箱-发送信息
|
||||
$email = empty($value['email']) ? '' : $value['email'];//'tmr@tmrjournals.com';//'1172937051@qq.com';//
|
||||
if(empty($email)){
|
||||
@@ -193,7 +195,7 @@ class JournalArticle
|
||||
$iIsSuccess = 1;
|
||||
$sMsg = '成功';
|
||||
}
|
||||
$aEmailParam = ['article_id' => $iArticleId,'article_author_id' =>$value['article_author_id'],'related_article_id' => $value['article_id'],'email' => $email,'content' => $content,'create_time' => time(),'journal_id' => $aJournalInfo['journal_id'],'journal_issn' => $aJournalInfo['issn'],'email' => $email,'title' => $title,'from_name' => $from_name,'memail' => $memail,'mpassword' => $mpassword];
|
||||
$aEmailParam = ['article_id' => $iArticleId,'article_author_id' =>$value['article_author_id'],'related_article_id' => $value['article_id'],'email' => $email,'content' => $content,'create_time' => time(),'journal_id' => $aJournalInfo['journal_id'],'journal_issn' => $aJournalInfo['issn'],'title' => $title,'from_name' => $from_name,'memail' => $memail,'mpassword' => $mpassword];
|
||||
|
||||
//邮件发送记录
|
||||
$aSendEmail[$value['article_id']][] = $email;
|
||||
|
||||
Reference in New Issue
Block a user