change to en email template
This commit is contained in:
parent
1214c9d53e
commit
60435addd8
|
@ -168,10 +168,10 @@ class PdfOperate implements \Order\Listener\PdfEvents
|
|||
);
|
||||
|
||||
$mail = new Mail();
|
||||
$mail->loadTemplate("offline-email",$data);
|
||||
$mail->loadTemplate("offline-email-en",$data);
|
||||
$mail->addTo($formData['email'],$formData['realname']);
|
||||
$attach = $mail->mail->createAttachment($pdf->Output('applicant','S'));
|
||||
$attach->filename = '数据申请-'.$formData['realname'].'.pdf';
|
||||
$attach->filename = 'DataOrder-'.$formData['realname'].'.pdf';
|
||||
$mail->send();
|
||||
}
|
||||
|
||||
|
|
|
@ -426,7 +426,7 @@ class Order
|
|||
);
|
||||
|
||||
$mail = new Mail();
|
||||
$mail->loadTemplate("offline-pdf-commited",$data);
|
||||
$mail->loadTemplate("offline-pdf-commited-en",$data);
|
||||
$mail->setDefaultTo();
|
||||
$mail->send();
|
||||
|
||||
|
|
Loading…
Reference in New Issue