aboutsummaryrefslogtreecommitdiff
path: root/app/model
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2019-03-01 06:11:41 -0500
committerThedro Neely <thedroneely@gmail.com>2019-03-01 06:11:41 -0500
commitd46e0ee719011746d1f75a3f928a5dce56c8b332 (patch)
treecc3c092c062e1646c75fadb1df07a288cf85a6fe /app/model
parentd223cb7d573a105095abd711657bf3d728844ce5 (diff)
downloadthedroneely.com-d46e0ee719011746d1f75a3f928a5dce56c8b332.tar.gz
thedroneely.com-d46e0ee719011746d1f75a3f928a5dce56c8b332.tar.bz2
thedroneely.com-d46e0ee719011746d1f75a3f928a5dce56c8b332.zip
app/model/Form: Abstract email address to a config option
Diffstat (limited to 'app/model')
-rw-r--r--app/model/Form.php4
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