EllisLab text mark
Advanced Search
2 of 2
2
   
Obfuscated Email Subject Issue
Posted: 13 August 2011 10:45 AM   [ # 16 ]   [ Rating: 0 ]
Joined: 2011-05-02
4 posts
Bluecandy - 07 August 2011 12:04 PM

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.

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 smile

var    $newline        "\r\n";
    var 
$crlf            "\n"
 
Posted: 13 August 2011 11:45 PM   [ # 17 ]   [ Rating: 0 ]
Avatar
Joined: 2011-07-26
31 posts

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?

 Signature 

Welcome to my web site:http://www.dailygames365.com|www.dailyarcadegames1.com

 
Posted: 15 October 2012 04:41 AM   [ # 18 ]   [ Rating: 0 ]
Avatar
Joined: 2012-01-09
132 posts

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/issues/1409#issuecomment-9330713 ... but as you can see in there - no real-world testers, so I thought I should come here.

 
Posted: 19 June 2013 03:59 PM   [ # 19 ]   [ Rating: 0 ]
Joined: 2011-10-08
6 posts

The patched Email.php file worked for me

 
Posted: 04 July 2013 07:13 AM   [ # 20 ]   [ Rating: 0 ]
Joined: 2010-09-03
10 posts

We’ve downloaded the patch today to test it. It generated more error messages hence we do not recommend.

cheers
Ashar

 
Posted: 22 November 2013 07:39 PM   [ # 21 ]   [ Rating: 0 ]
Joined: 2013-11-22
1 posts
whobutsb - 07 May 2010 04:50 PM

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?

 
2 of 2
2