How to save mail in send folder using codeignator

Is this draw by repetition?

Why do I get negative height?

What is the fastest integer factorization to break RSA?

Is it possible to map the firing of neurons in the human brain so as to stimulate artificial memories in someone else?

Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?

Venezuelan girlfriend wants to travel the USA to be with me. What is the process?

How can saying a song's name be a copyright violation?

What is required to make GPS signals available indoors?

How exploitable/balanced is this homebrew spell: Spell Permanency?

How obscure is the use of 令 in 令和?

How to prevent "they're falling in love" trope

How to compactly explain secondary and tertiary characters without resorting to stereotypes?

Does the Idaho Potato Commission associate potato skins with healthy eating?

Ambiguity in the definition of entropy

Knowledge-based authentication using Domain-driven Design in C#

GFCI outlets - can they be repaired? Are they really needed at the end of a circuit?

How to stretch the corners of this image so that it looks like a perfect rectangle?

"the same as" in a sentence

Why were 5.25" floppy drives cheaper than 8"?

How much mains leakage does an Ethernet connection to a PC induce, and what is the operating leakage path?

files created then deleted at every second in tmp directory

Was the Stack Exchange "Happy April Fools" page fitting with the '90's code?

Using "tail" to follow a file without displaying the most recent lines

Getting extremely large arrows with tikzcd



How to save mail in send folder using codeignator














0















I want to send email using codeignator mails are sending properly but not saving in send folder i have put code below.



public function sendMail()
{
$data=array('fromEmail'=>'xyz@gmail.com','to'=>'abc@gmail.com','cc'=>'','subject'=>'Login Count','template'=>"Any msg");



    $localhost = array(
'127.0.0.1',
'::1'
);
$this->load->library('email');
$config = Array(
/*'charset'=>'utf-8',
'wordwrap'=> TRUE,
'mailtype' => 'html'*/
'mailtype' => 'html',
'priority' => '3',
'charset' => 'iso-8859-1',
'validate' => TRUE ,
'newline' => "rn",
'wordwrap' => TRUE

);
if(in_array($_SERVER['REMOTE_ADDR'], $localhost))
{
$config['protocol']='smtp';
$config['smtp_host']='ssl://smtp.office365.com';
$config['smtp_port']='465';
$config['smtp_user']='xyz@gmail.com';
$config['smtp_pass']='****';
$config['mailtype']='html';



}
$this->email->initialize($config);
/*if(isset($data['fromEmail']) && $data['fromEmail']!='')
{
$fromEmail = $this->getValue($this->db->dbprefix('admin_users'),"email"," `id` = '1' ");
}*/
$fromName = 'Creosouls Team';

$this->email->clear(TRUE);
$this->email->to($data['to']);
if(isset($data['cc']) && $data['cc'] !='')
{
$this->email->cc($data['cc']);
}
$this->email->from($data['fromEmail'],$fromName);
$this->email->subject($data['subject']);
$this->email->message($data['template']);
$this->email->send();
echo $this->email->print_debugger();
pr($data);
// if($this->email->send())
// return true;
// else
// return false;
}








share



























    0















    I want to send email using codeignator mails are sending properly but not saving in send folder i have put code below.



    public function sendMail()
    {
    $data=array('fromEmail'=>'xyz@gmail.com','to'=>'abc@gmail.com','cc'=>'','subject'=>'Login Count','template'=>"Any msg");



        $localhost = array(
    '127.0.0.1',
    '::1'
    );
    $this->load->library('email');
    $config = Array(
    /*'charset'=>'utf-8',
    'wordwrap'=> TRUE,
    'mailtype' => 'html'*/
    'mailtype' => 'html',
    'priority' => '3',
    'charset' => 'iso-8859-1',
    'validate' => TRUE ,
    'newline' => "rn",
    'wordwrap' => TRUE

    );
    if(in_array($_SERVER['REMOTE_ADDR'], $localhost))
    {
    $config['protocol']='smtp';
    $config['smtp_host']='ssl://smtp.office365.com';
    $config['smtp_port']='465';
    $config['smtp_user']='xyz@gmail.com';
    $config['smtp_pass']='****';
    $config['mailtype']='html';



    }
    $this->email->initialize($config);
    /*if(isset($data['fromEmail']) && $data['fromEmail']!='')
    {
    $fromEmail = $this->getValue($this->db->dbprefix('admin_users'),"email"," `id` = '1' ");
    }*/
    $fromName = 'Creosouls Team';

    $this->email->clear(TRUE);
    $this->email->to($data['to']);
    if(isset($data['cc']) && $data['cc'] !='')
    {
    $this->email->cc($data['cc']);
    }
    $this->email->from($data['fromEmail'],$fromName);
    $this->email->subject($data['subject']);
    $this->email->message($data['template']);
    $this->email->send();
    echo $this->email->print_debugger();
    pr($data);
    // if($this->email->send())
    // return true;
    // else
    // return false;
    }








    share

























      0












      0








      0








      I want to send email using codeignator mails are sending properly but not saving in send folder i have put code below.



      public function sendMail()
      {
      $data=array('fromEmail'=>'xyz@gmail.com','to'=>'abc@gmail.com','cc'=>'','subject'=>'Login Count','template'=>"Any msg");



          $localhost = array(
      '127.0.0.1',
      '::1'
      );
      $this->load->library('email');
      $config = Array(
      /*'charset'=>'utf-8',
      'wordwrap'=> TRUE,
      'mailtype' => 'html'*/
      'mailtype' => 'html',
      'priority' => '3',
      'charset' => 'iso-8859-1',
      'validate' => TRUE ,
      'newline' => "rn",
      'wordwrap' => TRUE

      );
      if(in_array($_SERVER['REMOTE_ADDR'], $localhost))
      {
      $config['protocol']='smtp';
      $config['smtp_host']='ssl://smtp.office365.com';
      $config['smtp_port']='465';
      $config['smtp_user']='xyz@gmail.com';
      $config['smtp_pass']='****';
      $config['mailtype']='html';



      }
      $this->email->initialize($config);
      /*if(isset($data['fromEmail']) && $data['fromEmail']!='')
      {
      $fromEmail = $this->getValue($this->db->dbprefix('admin_users'),"email"," `id` = '1' ");
      }*/
      $fromName = 'Creosouls Team';

      $this->email->clear(TRUE);
      $this->email->to($data['to']);
      if(isset($data['cc']) && $data['cc'] !='')
      {
      $this->email->cc($data['cc']);
      }
      $this->email->from($data['fromEmail'],$fromName);
      $this->email->subject($data['subject']);
      $this->email->message($data['template']);
      $this->email->send();
      echo $this->email->print_debugger();
      pr($data);
      // if($this->email->send())
      // return true;
      // else
      // return false;
      }








      share














      I want to send email using codeignator mails are sending properly but not saving in send folder i have put code below.



      public function sendMail()
      {
      $data=array('fromEmail'=>'xyz@gmail.com','to'=>'abc@gmail.com','cc'=>'','subject'=>'Login Count','template'=>"Any msg");



          $localhost = array(
      '127.0.0.1',
      '::1'
      );
      $this->load->library('email');
      $config = Array(
      /*'charset'=>'utf-8',
      'wordwrap'=> TRUE,
      'mailtype' => 'html'*/
      'mailtype' => 'html',
      'priority' => '3',
      'charset' => 'iso-8859-1',
      'validate' => TRUE ,
      'newline' => "rn",
      'wordwrap' => TRUE

      );
      if(in_array($_SERVER['REMOTE_ADDR'], $localhost))
      {
      $config['protocol']='smtp';
      $config['smtp_host']='ssl://smtp.office365.com';
      $config['smtp_port']='465';
      $config['smtp_user']='xyz@gmail.com';
      $config['smtp_pass']='****';
      $config['mailtype']='html';



      }
      $this->email->initialize($config);
      /*if(isset($data['fromEmail']) && $data['fromEmail']!='')
      {
      $fromEmail = $this->getValue($this->db->dbprefix('admin_users'),"email"," `id` = '1' ");
      }*/
      $fromName = 'Creosouls Team';

      $this->email->clear(TRUE);
      $this->email->to($data['to']);
      if(isset($data['cc']) && $data['cc'] !='')
      {
      $this->email->cc($data['cc']);
      }
      $this->email->from($data['fromEmail'],$fromName);
      $this->email->subject($data['subject']);
      $this->email->message($data['template']);
      $this->email->send();
      echo $this->email->print_debugger();
      pr($data);
      // if($this->email->send())
      // return true;
      // else
      // return false;
      }






      mysql php





      share












      share










      share



      share










      asked 4 mins ago









      dipali nigadedipali nigade

      31




      31






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "182"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f233801%2fhow-to-save-mail-in-send-folder-using-codeignator%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Database Administrators Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f233801%2fhow-to-save-mail-in-send-folder-using-codeignator%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Anexo:Material bélico de la Fuerza Aérea de Chile Índice Aeronaves Defensa...

          Always On Availability groups resolving state after failover - Remote harden of transaction...

          update json value to null Announcing the arrival of Valued Associate #679: Cesar Manara ...