diff options
-rw-r--r-- | app/model/Form.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/model/Form.php b/app/model/Form.php index 9d0b4a4..23e5613 100644 --- a/app/model/Form.php +++ b/app/model/Form.php @@ -64,8 +64,8 @@ class Form $mail->Port = $config['mail']['port']; // TCP port to connect to //Recipients - $mail->setFrom('thedroneely@gmail.com', 'Thedro Neely'); - $mail->addAddress('thedroneely@gmail.com', 'Thedro Neely'); + $mail->setFrom($config['mail']['username'], 'Thedro Neely'); + $mail->addAddress($config['mail']['username'], 'Thedro Neely'); $mail->addReplyTo($this->email, $this->name); //Content |