Anxhelo Lushka
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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; |
|
|