change to en email template

This commit is contained in:
wlx 2014-05-15 12:42:41 +00:00
parent 1214c9d53e
commit 60435addd8
2 changed files with 3 additions and 3 deletions

View File

@ -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();
}

View File

@ -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();