From 33909705f60fddd2b20b40db673625b836963fab Mon Sep 17 00:00:00 2001 From: Anxhelo Lushka Date: Fri, 16 Mar 2018 08:46:04 +0100 Subject: [PATCH] Delete form.php --- form.php | 57 -------------------------------------------------------- 1 file changed, 57 deletions(-) delete mode 100644 form.php diff --git a/form.php b/form.php deleted file mode 100644 index 4a2a4ab..0000000 --- a/form.php +++ /dev/null @@ -1,57 +0,0 @@ -isSMTP(); - $mail->Host = 'localhost'; - $mail->Port = 2500; - $mail->CharSet = 'utf-8'; - //It's important not to use the submitter's address as the from address as it's forgery, - //which will cause your messages to fail SPF checks. - //Use an address in your own domain as the from address, put the submitter's address in a reply-to - $mail->setFrom('form@ura.design', (empty($name) ? 'Contact form' : $name)); - $mail->addAddress('anxhelo1995@gmail.com'); - $mail->addReplyTo($email, $name); - $mail->Subject = 'Contact form: Ura Design'; - $mail->Body = "Contact form submission\n\n" . $message; - if (!$mail->send()) { - $msg .= "Mailer Error: " . $mail->ErrorInfo; - } else { - $msg .= "Message sent!"; - } - } -} ?>