PHPMailer 5.2.22 버전 적용

This commit is contained in:
thisgun
2017-01-18 10:44:03 +09:00
parent 11038348a3
commit db32bcfc06
10 changed files with 153 additions and 25 deletions

View File

@ -17,7 +17,7 @@ if (array_key_exists('userfile', $_FILES)) {
$mail->setFrom('from@example.com', 'First Last');
$mail->addAddress('whoto@example.com', 'John Doe');
$mail->Subject = 'PHPMailer file sender';
$mail->msgHTML("My message body");
$mail->Body = 'My message body';
// Attach the uploaded file
$mail->addAttachment($uploadfile, 'My uploaded file');
if (!$mail->send()) {