1
This commit is contained in:
@@ -233,6 +233,48 @@ class Email extends Controller
|
||||
}
|
||||
|
||||
|
||||
public function pushEmailForBMEC1(){
|
||||
$a = readExcel("/home/wwwroot/api.tmrjournals.com/public/system/2.xlsx");
|
||||
|
||||
$a[] = ["wangjinlei","testtesttest","13662001490@126.com"];
|
||||
// $a[] = ["wangjinlei1","testtesttest1","751475802@qq.com"];
|
||||
// $a[] = ["Aubree Zhu","testtesttest2","1300364247@qq.com"];
|
||||
|
||||
echo "<pre>";
|
||||
var_dump($a);
|
||||
echo "</pre>";
|
||||
die;
|
||||
|
||||
$journal_info = $this->journal_obj->where("journal_id",23)->find();
|
||||
// $email = "1300364247@qq.com";
|
||||
// $email = "751475802@qq.com";
|
||||
|
||||
foreach ($a as $k=>$v){
|
||||
$content = "Dear Dr. ".trim($v['0']).",<br/><br/>";
|
||||
$content .= 'We recently read your article "'.trim($v[1]).'", and we consider your research interests and expertise to be aligned well with the scope of the journal Biomedical Engineering Communications(https://www.tmrjournals.com/bmec/).<br/><br/>';
|
||||
$content .= "Thus, on behalf of the editorial team of BMEC, we would like to invite you to publish a feature paper in BMEC, and please note that standard article processing charge of 0 CHF.<br/><br/>";
|
||||
$content .= "If you plan to contribute, please kindly send us a short abstract via e-mail in advance.<br/><br/>";
|
||||
$content .= "Biomedical Engineering Communications (ISSN: 2815-9063) is a peer-reviewed, open-access journal managed by TMR Publishing Group. Biomedical engineering is an interdisciplinary discipline that combines the principles of physics, chemistry, mathematics, computer and engineering, to study biomedicine and develop innovative biological products, materials, processing methods, implants, devices and informatics.<br/><br/>";
|
||||
$content .= "The aim of Biomedical Engineering Communications is to promote the integration of new technologies, new ideas, new methods and life sciences in the field of engineering, and to enhance the digitization, automation and intelligence of biomedical engineering technology.<br/><br/>";
|
||||
$content .= "You may find more information about the journal, including the editorial board and Special Issues, at https://www.tmrjournals.com/bmec/<br/><br/>";
|
||||
$content .= "If you have any questions, please feel free to contact me.<br/><br/>We look forward to hearing from you.<br/>Best regards,<br/>Aubree zhu<br/>Journal Editor<br/>WeChat: 15620305727<br/><br/>";
|
||||
$content .= "Recruiting reviewers<br/>https://submission.tmrjournals.com/reviewer<br/><br/>Biomedical Engineering Communications<br/>Email: bmec@tmrjournals.com<br/>Website: https://www.tmrjournals.com/bmec/<br/>";
|
||||
$pre = Env::get('emailtemplete.pre');
|
||||
$net = Env::get('emailtemplete.net');
|
||||
$net1 = str_replace("{{email}}",trim($v[2]),$net);
|
||||
$mailbody=$pre.$content.$net1;
|
||||
|
||||
$edata['email'] = trim($v[2]);
|
||||
$edata['title'] = "[Biomedical Engineering Communications] Invitation for More Academic Cooperation";
|
||||
$edata['content'] = $mailbody;
|
||||
$edata['tmail'] = $journal_info['email'];
|
||||
$edata['tpassword'] = $journal_info['epassword'];
|
||||
Queue::push('app\api\job\mail@fire', $edata, "tmail");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public function lsPushEmail()
|
||||
{
|
||||
// $journal_info = $this->journal_obj->where("journal_id", 4)->find();
|
||||
|
||||
Reference in New Issue
Block a user