diff options
author | Andrey Andreev <narf@devilix.net> | 2017-01-06 12:45:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-06 12:45:55 +0100 |
commit | ed25e2ac9d79a860736c5440cbd41043c9bc38a7 (patch) | |
tree | a83959d3ae7cca4b0552dc3cf22dcb888f108db8 /system/libraries | |
parent | 776dd16bdb659421450fe274a941521cdaabfe83 (diff) | |
parent | a309badf3a73f427af030e790e5080347da67372 (diff) |
Merge pull request #4765 from viitols/develop
Fix CI_Email not sending User-Agent header
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Email.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system/libraries/Email.php b/system/libraries/Email.php index fbf0cb7dc..bfff8953b 100644 --- a/system/libraries/Email.php +++ b/system/libraries/Email.php @@ -1195,6 +1195,7 @@ class CI_Email { */ protected function _build_headers() { + $this->set_header('User-Agent', $this->useragent); $this->set_header('X-Sender', $this->clean_email($this->_headers['From'])); $this->set_header('X-Mailer', $this->useragent); $this->set_header('X-Priority', $this->_priorities[$this->priority]); |