codeigniter application with smtp

codeigniter application with smtp

$config = array(
            'smtp_host' =>'smtp.zeptomail.com',
            'smtp_port' =>587,
            'smtp_user' =>'user,
'smtp_pass' =>'password',
            'protocol' => 'mail',
            'mailtype' => 'html',
            'charset' => 'iso-8859-1',
            'wordwrap' => TRUE,
            '_smtp_auth' => TRUE,
            'smtp_crypto' => 'tls',
        );
        
        $this->load->library( 'email' ,$config);// , $config //for authenticate email

        //$this->email->set_newline("\r\n");

        $config['newline'] = "\r\n";
           $config['crlf'] = "\r\n";


        $config_arra = $this->get_site_config();
        $from_email = $config_arra['from_email'];

We have done smtp configuration our codeigniter application,  But it is not working please help me

      • Sticky Posts

      • TransMail Overview

        Note: TransMail is now ZeptoMail. Click here to know more. Hey there! It's been 5 months since we launched Zoho's transactional email service — TransMail. We've had great response and onboarded many users. I'd like to now give an overview of TransMail
      • TransMail has a new name—ZeptoMail!

        Tried navigating to TransMail's community forum but see a different name now? That's because TransMail has a new name. TransMail is now ZeptoMail! As we’ve grown from an internal service used mainly by other Zoho products to an up-and-coming competitor
      • Welcome to TransMail community

        Note: TransMail is now ZeptoMail. Click here to know more. Hi everyone, Welcome to TransMail's community forum. Though TransMail has been in use inside Zoho for nearly half a decade, we only recently launched it as a service to all of you. We'd firstly