1
This commit is contained in:
@@ -586,7 +586,7 @@ function getReviewerCvs($reviewer_id){
|
||||
return $cvs;
|
||||
}
|
||||
|
||||
function aliemail($email,$title,$content){
|
||||
function aliemail($email,$title,$content,$has_hb=1){
|
||||
// file_put_contents('/usr/a.txt', $email,FILE_APPEND);
|
||||
vendor('aliemail.email');
|
||||
$mailto=$email;
|
||||
@@ -595,7 +595,7 @@ function aliemail($email,$title,$content){
|
||||
$pre = Env::get('emailtemplete.pre');
|
||||
$net = Env::get('emailtemplete.net');
|
||||
$net1 = str_replace("{{email}}",$email,$net);
|
||||
$mailbody=$pre.$content.$net1;
|
||||
$mailbody=$has_hb==1?$pre.$content.$net1:$content;
|
||||
$smtpserver = "smtpdm-ap-southeast-1.aliyun.com";
|
||||
$smtpserverport = 80;
|
||||
$smtpusermail = "propa@hellotmr.top";
|
||||
|
||||
Reference in New Issue
Block a user