Welcome Guest, Not a member yet? Register   Sign In
Bug in Email class caused issue when used with qmail due to crlf - [SOLVED]
#4

[eluser]hyperfire[/eluser]
I'm having this same error.
Tryied the sugested "fix" with no luck so far.
Still have the same error msg:

451 See http://pobox.com/~djb/docs/smtplf.html.
The following SMTP error was encountered: 451 See http://pobox.com/~djb/docs/smtplf.html.
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.

What should I do?

Using qmail on a default MT DV with CI 2.1 with this code

Code:
$mail_msg = $this->mBody($tpl, $data, $subject);
                        
        $this->_CI->load->library('email');
                  
        $this->_CI->email->from($this->common['mailing_mail'],$this->common['site_title']);
        $this->_CI->email->to($to->email);      
        $this->_CI->email->subject($subject);
        $this->_CI->email->message($mail_msg);
        
        $mailSent = $this->_CI->email->send() == TRUE;

        if ($mailSent) {
            return TRUE;
        } else {
            print_r($mailSent);
            echo $this->_CI->email->print_debugger();
            exit();
            return FALSE;
        }


Messages In This Thread
Bug in Email class caused issue when used with qmail due to crlf - [SOLVED] - by El Forum - 01-20-2012, 12:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB