0

我正在使用 codeigniter 电子邮件。一切都是正确的,除了邮件没有发送到我的客户电子邮件,这类似于abc@companyname.com.np但发送到 gmail 和我的办公室邮件。我有批量电子邮件 ID 要发送到。是我做错了什么还是客户公司邮件设置的问题??

$this->load->library('email');
$config['mailtype'] = 'html';
$config['validate'] = TRUE;
$this->email->initialize($config);
$this->email->from('abc@gmail.com', 'ABCTechnologies');
$list = array($form->admin_email);
$this->email->to($list); 
$this->email->subject($form->form_title);
$message = 'You have got a new Feedback. Here are the Details : <br/>';
    '.$email_fields['message'].'<br/>';
$this->email->message($message); 
$this->email->send();

$list邮件ID数组在哪里。欢迎提出任何建议。

我也更改了smtp,但无济于事。

$config['protocol'] = 'smtp';
$config['smtp_host'] = 'mail.sipradi.com.np';

并且 smtp 端口默认为 25。帮助

4

0 回答 0