aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2019-02-21 20:53:17 -0500
committertdro <tdro@users.noreply.github.com>2019-02-21 21:13:52 -0500
commita9fefd298df66d8e1408bf1512813895454bcbbe (patch)
treefb4054fc23d6f66f4509542be124a83abfc40a7b /bootstrap
parentd2b03382383720da52b71973b9c09483bdb931f3 (diff)
downloadedwinmattiacci.com-a9fefd298df66d8e1408bf1512813895454bcbbe.tar.gz
edwinmattiacci.com-a9fefd298df66d8e1408bf1512813895454bcbbe.tar.bz2
edwinmattiacci.com-a9fefd298df66d8e1408bf1512813895454bcbbe.zip
bootstrap/Functions: Move email setting to global config file
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/Functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/Functions.php b/bootstrap/Functions.php
index b4f0ac0..e53fb59 100644
--- a/bootstrap/Functions.php
+++ b/bootstrap/Functions.php
@@ -22,8 +22,8 @@ function sendMail($name, $email, $message)
$mail->Port = $config['mail']['port']; // TCP port to connect to
//Recipients
- $mail->setFrom('edwinmattiacci@yahoo.com', 'Edwin Mattiacci');
- $mail->addAddress('edwinmattiacci@yahoo.com', 'Edwin Mattiacci');
+ $mail->setFrom($config['mail']['username'], 'Edwin Mattiacci');
+ $mail->addAddress($config['mail']['username'], 'Edwin Mattiacci');
$mail->addReplyTo($email, $name);
//Content