Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $arquivo = $_FILES['arquivo'];
- if ($arquivo['size'][0] != 0) {
- for ($i = 0; $i < count($arquivo ['tmp_name']); $i++) {
- $mail->AddAttachment($arquivo ['tmp_name'][$i], $arquivo['name'][$i]);
- }
- }
Add Comment
Please, Sign In to add comment