Welcome Guest, Not a member yet? Register   Sign In
Mail() error in 1.6.1
#1

[eluser]Unknown[/eluser]
Was having problems with the email class and thing I might have found a bug using the mail() method.

Not sure if this is a my-server specific thing, but on line 1339 of the CI_Email class, there is mention of sendmail and the "-f " flag in the mail() section of the code. The, on line 1341 in the mail() command, "-f " is in there again. Leaving this in, the mail() function does not work as expected (even though using the native mail() command directly does). Removing "-f " makes the email class work as expected.

Is this a bug? At the least, maybe the comment should be changed so that its clear that the "-f " flag is in the right place?

Thanks in advance. Any feed back would be greatly appreciated.




Theme © iAndrew 2016 - Forum software by © MyBB