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

      Zoho Developer Community








                                Zoho Desk Resources

                                • Desk Community Learning Series


                                • Digest


                                • Functions


                                • Meetups


                                • Kbase


                                • Resources


                                • Glossary


                                • Desk Marketplace


                                • MVP Corner


                                • Word of the Day



                                    Zoho Marketing Automation
                                            • 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


                                            Manage your brands on social media



                                                  Zoho TeamInbox Resources

                                                    Zoho DataPrep Resources



                                                      Zoho CRM Plus Resources

                                                        Zoho Books Resources


                                                          Zoho Subscriptions Resources

                                                            Zoho Projects Resources


                                                              Zoho Sprints Resources


                                                                Qntrl Resources


                                                                  Zoho Creator Resources


                                                                    Zoho WorkDrive Resources



                                                                      Zoho Campaigns Resources

                                                                        Zoho CRM Resources

                                                                        • CRM Community Learning Series

                                                                          CRM Community Learning Series


                                                                        • Tips

                                                                          Tips

                                                                        • Functions

                                                                          Functions

                                                                        • Meetups

                                                                          Meetups

                                                                        • Kbase

                                                                          Kbase

                                                                        • Resources

                                                                          Resources

                                                                        • Digest

                                                                          Digest

                                                                        • CRM Marketplace

                                                                          CRM Marketplace

                                                                        • MVP Corner

                                                                          MVP Corner







                                                                            Design. Discuss. Deliver.

                                                                            Create visually engaging stories with Zoho Show.

                                                                            Get Started Now