Obfuscated Email Subject Issue |
[eluser]whobutsb[/eluser]
Same thing in my Gmail. I setup a config file in my config directory called email.php, is that the correct way to name a config file? Here is the config I have in that: Code: $config['useragent'] = 'NHC SurveyForce';
[eluser]WanWizard[/eluser]
Don't see anything wrong with that. What happens if you do a $this->email->print_debugger() directly after a $this->email->send()? And a var_dump($this->email->_header_str)?
[eluser]whobutsb[/eluser]
For the print_debugger the subject line is still coming across screwed up. Would it be terrible if I commented out the $subject = $this->_prep_q_encoding($subject); line the CI email library?
[eluser]WanWizard[/eluser]
If that's the case then it looks like your "\r\n" isn't used as newline. Try Code: $this-email->newline = "\r\n"; You could comment it out, it's not a problem as long as your subjects are ASCII characters only. I would advise you to find the problem, instead of working around it (and possibly introduce other issues).
[eluser]whobutsb[/eluser]
No go on just using the $this->email->newline = "\r\n"; Hmm I will keep working on it. Thank you for your help! If anyone else has any ideas, I'd love to hear them!
[eluser]Unknown[/eluser]
I have the same problem when the subject length is longer than 75 characters. If the subject is longer than 75, the Email Class function _prep_q_encoding add an newline in the subject and then the problem appear.
[eluser]kijla[/eluser]
[quote author="Bluecandy" date="1312733065"]I have the same problem when the subject length is longer than 75 characters. If the subject is longer than 75, the Email Class function _prep_q_encoding add an newline in the subject and then the problem appear.[/quote] I had the same problem as you. I changed the value if $crlf from "\r\n" to "\n" in the Email.php file in core/libraries and it seems to be working well now Code: var $newline = "\r\n";
[eluser]nikes[/eluser]
I see, but why would it start looking in different ways from if I just create it in directly? Is there any way for me to fix my error?
[eluser]Narf[/eluser]
How does it work with this one guys? https://gist.github.com/3891474 I've been trying to get some feedback on the patch linked here: https://github.com/EllisLab/CodeIgniter/...nt-9330713 ... but as you can see in there - no real-world testers, so I thought I should come here.
|
Welcome Guest, Not a member yet? Register Sign In |