• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Email Not Received Outside of Website Domain

#2
PHP Code:
        $this->load->library('email');
        $config['protocol']    'smtp';
        $config['smtp_host']    'domain here';
        $config['smtp_port']    '25'// try also yours
        $config['smtp_timeout'] = '7';
        $config['smtp_user']    'email';
        $config['smtp_pass']    'email pass';
        $config['charset']    'utf-8';
        $config['newline']    "\r\n";
        $config['mailtype'] = 'html';
        $config['validation'] = FALSE;
        $this->email->initialize($config);
        $this->email->from('donotreply@email.bla''title here');
        $this->email->to('to email');
        $this->email->subject('test email');
        $this->email->message('
        <h2>hallo world</h2>
        '
);
        $this->email->send(); 
i use this one without ssl and its working fine...  for CI3
Reply


Messages In This Thread
RE: Email Not Received Outside of Website Domain - by mboufos - 09-27-2019, 03:00 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.