Email Library |
Dear BilltheCat,
my bad Please see the content: <?php $config['protocol'] = 'smtp'; //$config['mailpath'] = '/usr/sbin/sendmail_r -t -i [email protected]'; //$config['mailpath'] = '/usr/sbin/sendmail -t -i'; //$config['mailpath'] = '/usr/sbin/sendmail'; //$config['smtp_host'] = 'localhost'; $config['smtp_host'] ='smtp.office365.com'; $config['smtp_user']='[email protected]'; $config['smtp_pass']='password'; $config['smtp_port']=587; $config['sendmail_from'] ='[email protected]'; $config['crlf'] = '\r\n'; $config['mailtype'] = 'html'; $config['wordwrap'] = TRUE; // $this->email->initialize($config); // only if used in the application directly and not in the config. and the content of the cron file: $content.='</ul><p>Thanks for your cooperation. We also remind that the CAP are actually followed by '.$data['name']['customer'].'. Thus you should contact with them for issues related to the CAP. In case of problem related to this website, then you should contact WethicA.<br> Best regards.<br> WethicA\'s team.</p>'; echo'<br>'.$content; $this->load->library('email'); $this->email->from('[email protected]', 'XXX'); echo'<br>'.$data['email']['factory']; $this->email->to($data['email']['factory'].','.$data['email']['agent']); $this->email->cc($data['email']['customer']); $this->email->bcc(EMAIL_MANAGER); $this->email->subject($title); $this->email->message($content); $i++; if(!$this->email->send()) die($this->email->print_debugger()); } // end of one specific line } // end of foreach line |
Messages In This Thread |
Email Library - by mkork - 11-30-2023, 03:09 AM
RE: Email Library - by demyr - 11-30-2023, 01:48 PM
RE: Email Library - by mkork - 11-30-2023, 02:05 PM
RE: Email Library - by BilltheCat - 12-04-2023, 01:07 PM
RE: Email Library - by mkork - 12-06-2023, 10:22 AM
|