Welcome Guest, Not a member yet? Register   Sign In
[CI 1.7+] Email Class - useragent not configurable
#2

[eluser]sophistry[/eluser]
yes, i just hit this bug too - consider it verified. i have posted it in the bug tracker here:

http://codeigniter.com/bug_tracker/bug/6643/

this is how i fixed it - not sure if it is a long-term fix, but it let me set the User-Agent header in my email.

around line 922 in the _build_headers() function you'll see a list of _set_header calls, add this one.
Code:
$this->_set_header('User-Agent', $this->useragent);


Messages In This Thread
[CI 1.7+] Email Class - useragent not configurable - by El Forum - 11-18-2008, 07:17 PM
[CI 1.7+] Email Class - useragent not configurable - by El Forum - 02-01-2009, 08:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB