/home/desid573/public_html/gcdriver/PHPMailer/examples
NameSizeModeActions
images/-0755rm
scripts/-0755rm
styles/-0755rm
code_generator.phps274630644editdlrm
contents.html6450644editdlrm
contentsutf8.html8300644editdlrm
exceptions.phps14820644editdlrm
gmail.phps21650644editdlrm
gmail_xoauth.phps26990644editdlrm
index.html62890644editdlrm
mail.phps10630644editdlrm
mailing_list.phps22970644editdlrm
pop_before_smtp.phps21960644editdlrm
sendmail.phps11350644editdlrm
send_file_upload.phps16850644editdlrm
send_multiple_file_upload.phps16060644editdlrm
signed-mail.phps42030644editdlrm
smtp.phps18750644editdlrm
smtp_check.phps19070644editdlrm
smtp_no_auth.phps17430644editdlrm
ssl_options.phps20760644editdlrm
Edit: /home/desid573/public_html/gcdriver/PHPMailer/examples/send_file_upload.phps (1685B)
setFrom('from@example.com', 'First Last'); $mail->addAddress('whoto@example.com', 'John Doe'); $mail->Subject = 'PHPMailer file sender'; $mail->msgHTML("My message body"); // Attach the uploaded file $mail->addAttachment($uploadfile, 'My uploaded file'); if (!$mail->send()) { $msg .= "Mailer Error: " . $mail->ErrorInfo; } else { $msg .= "Message sent!"; } } else { $msg .= 'Failed to move file to ' . $uploadfile; } } ?> PHPMailer Upload
Send this file: