Browse Source

Update form.php

redesign
Anxhelo Lushka 7 years ago
committed by GitHub
parent
commit
c813b39013
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      form.php

2
form.php

@ -42,7 +42,7 @@ if (array_key_exists('to', $_POST)) {
$mail->setFrom('form@ura.design', (empty($name) ? 'Contact form' : $name)); $mail->setFrom('form@ura.design', (empty($name) ? 'Contact form' : $name));
$mail->addAddress('anxhelo1995@gmail.com'); $mail->addAddress('anxhelo1995@gmail.com');
$mail->addReplyTo($email, $name); $mail->addReplyTo($email, $name);
$mail->Subject = 'Contact form: ' . $subject; $mail->Subject = 'Contact form: Ura Design';
$mail->Body = "Contact form submission\n\n" . $message; $mail->Body = "Contact form submission\n\n" . $message;
if (!$mail->send()) { if (!$mail->send()) {
$msg .= "Mailer Error: " . $mail->ErrorInfo; $msg .= "Mailer Error: " . $mail->ErrorInfo;

Loading…
Cancel
Save