/home/techb158/exp.abdallabala.com/vendor/phpmailer/phpmailer/examples
NameSizeModeActions
images/-0755rm
scripts/-0755rm
styles/-0755rm
code_generator.phps279160644editdlrm
contactform.phps24610644editdlrm
contents.html6450644editdlrm
contentsutf8.html9080644editdlrm
DKIM.phps13360644editdlrm
exceptions.phps14820644editdlrm
gmail.phps33060644editdlrm
gmail_xoauth.phps26770644editdlrm
index.html62890644editdlrm
mail.phps10630644editdlrm
mailing_list.phps22970644editdlrm
pop_before_smtp.phps21960644editdlrm
sendmail.phps11350644editdlrm
send_file_upload.phps16830644editdlrm
send_multiple_file_upload.phps16040644editdlrm
signed-mail.phps42030644editdlrm
smtp.phps18750644editdlrm
smtp_check.phps19390644editdlrm
smtp_no_auth.phps17430644editdlrm
ssl_options.phps20760644editdlrm
Edit: /home/techb158/exp.abdallabala.com/vendor/phpmailer/phpmailer/examples/contactform.phps (2461B)
isSMTP(); $mail->Host = 'localhost'; $mail->Port = 25; //Use a fixed address in your own domain as the from address //**DO NOT** use the submitter's address here as it will be forgery //and will cause your messages to fail SPF checks $mail->setFrom('from@example.com', 'First Last'); //Send the message to yourself, or whoever should receive contact for submissions $mail->addAddress('whoto@example.com', 'John Doe'); //Put the submitter's address in a reply-to header //This will fail if the address provided is invalid, //in which case we should ignore the whole request if ($mail->addReplyTo($_POST['email'], $_POST['name'])) { $mail->Subject = 'PHPMailer contact form'; //Keep it simple - don't use HTML $mail->isHTML(false); //Build a simple message body $mail->Body = <<send()) { //The reason for failing to send will be in $mail->ErrorInfo //but you shouldn't display errors to users - process the error, log it on your server. $msg = 'Sorry, something went wrong. Please try again later.'; } else { $msg = 'Message sent! Thanks for contacting us.'; } } else { $msg = 'Invalid email address, message ignored.'; } } ?> Contact form

Contact us

$msg"; } ?>