我正在使用 CodeIgniter,我已经为我的客户设置了一堆电子邮件并通过 SMTP 发送它们......现在工作的要求是使用 Sendinblue 发送电子邮件......所以我只是用提供的证书替换了我的 SMTP 凭证通过 Sendinblue ......并且没有发送邮件......请帮助
旧代码(发送邮件时)
$config = array(
'protocol' => 'smtp', // 'mail', 'sendmail', or 'smtp'
'smtp_host' => smtp.example.com,
'smtp_port' => 465,
'smtp_user' => MY_USER,
'smtp_pass' => '',
'smtp_crypto' => 'ssl', //can be 'ssl' or 'tls' for example
'mailtype' => 'html', //plaintext 'text' mails or 'html'
'smtp_timeout' => '4000', //in seconds
'charset' => 'iso-8859-1',
'wordwrap' => TRUE
);
SendinBlue SMTP 详细信息(邮件现在不工作)
$config = array(
'protocol' => 'smtp', // 'mail', 'sendmail', or 'smtp'
'smtp_host' => smtp-relay.sendinblue.com,
'smtp_port' => 587,
'smtp_user' => MY_USER,
'smtp_pass' => MY_PASS,
'smtp_crypto' => 'ssl', //can be 'ssl' or 'tls' for example
'mailtype' => 'html', //plaintext 'text' mails or 'html'
'smtp_timeout' => '4000', //in seconds
'charset' => 'iso-8859-1',
'wordwrap' => TRUE
);