| @@ -41,7 +41,7 @@ For email sending, needed to make an instance of PHPMailer and use method *send* | |||
| Before that, needed to setup email: | |||
| ``` $mail = new PHPMailer(); //make instance of PHPMailer | |||
| $mail = new PHPMailer(); //make instance of PHPMailer | |||
| $mail->IsSMTP(); // telling the class to use SMTP | |||
| @@ -82,11 +82,11 @@ For email sending, needed to make an instance of PHPMailer and use method *send* | |||
| $mail->IsHtml(true); //enable html message instead of text | |||
| $mail->send(); //send email ``` | |||
| $mail->send(); //send email | |||
| When 'resume-file' is sent using POST method, it can be found in $_FILES array, but other parameters can be found in $_POST array | |||
| When 'resume-file' is sent using POST method, it can be found in FILES array, but other parameters can be found in POST array | |||
| When input (type file is used) in html form, need to add enctype="multipart/form-data" and setup: | |||