Welcome Guest, Not a member yet? Register   Sign In
Email Class printing = sign in email body
#1

[eluser]asifkilwani[/eluser]
I'm using Email Class which is printing "=" sign in email body paragraphs and link. How can i fix that?
#2

[eluser]bikuta[/eluser]
Might be helpful to show us what you did and an example of the output.
#3

[eluser]asifkilwani[/eluser]
Following is the function which sends email to user

Code:
function _send_email($arr){
    $this->load->library('email');
    $config['mailtype'] = 'html';
    $config['charset'] = 'utf-8';
    $config['wordwrap'] = FALSE;
    $this->email->initialize($config);

    $this->email->from($arr['from_email'], $arr['from_name']);
    $this->email->to($arr['email_to']);
    $this->email->subject($arr['subject']);
    $this->email->message($arr['message']);
    $this->email->send();
    //echo $this->email->print_debugger();
  }

and Below is what email receive as


Click on following link to v= erify the request.
http://localhost/ci/admin/home/retrieve_password_c= onfirmation/info@abc.com/f5ed1ae11d9b10782a690cc6d8f5fb22


If you notice, you'll see "="
#4

[eluser]asifkilwani[/eluser]
I found solution from one of the thread.

in system/library/Email.php

function _prep_quoted_printable($str, $charlim = ‘’)
{
// Set the character limit
// Don’t allow over 76, as that will make servers and MUAs barf
// all over quoted-printable data^M
if ($charlim == ‘’ OR $charlim > ‘76’)
{
$charlim = ‘76’;
}

I increased $charlim = ‘76’ to $charlim = ‘200’ and now Email class not printing any = sign.




Theme © iAndrew 2016 - Forum software by © MyBB