diff options
author | Malf Furious <m@lfurio.us> | 2017-06-19 23:45:03 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2017-06-19 23:57:39 -0400 |
commit | 2564b9953bb7bd8e90a9865962cb9e88d4cfd218 (patch) | |
tree | ba0e0b0c02a7c3384306a38106ac6eebdb80b4f4 /app | |
parent | ae71ff561fb0e469b00dbe0942144f8a0b771246 (diff) | |
download | scrott-2564b9953bb7bd8e90a9865962cb9e88d4cfd218.tar.gz scrott-2564b9953bb7bd8e90a9865962cb9e88d4cfd218.zip |
Update function user::sendEmail()
Now setting the name for email FROM field using system config
'smtpFrom'.
Diffstat (limited to 'app')
-rw-r--r-- | app/class/user.class.php | 2 |
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; |