summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/class/user.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/user.class.php b/app/class/user.class.php
index 01552f6..81fc29f 100644
--- a/app/class/user.class.php
+++ b/app/class/user.class.php
@@ -311,7 +311,7 @@ class user extends agent
$mail->Password = settings::smtpPasswd();
$mail->SMTPSecure = settings::smtpSecurity();
- $mail->setFrom(settings::smtpEmailAddress());
+ $mail->setFrom(settings::smtpEmailAddress(), settings::smtpFrom());
$mail->addAddress($this->email, $this->getDisplayName());
$mail->Subject = $subj;
$mail->Body = $mesg;