Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method

前端 未结 6 628
余生分开走
余生分开走 2021-01-05 08:58

Iam using codeigniter

I exicuted the code on live server. got the following error using print_debugger()

Unable to send email using PHP SMTP.

6条回答
  •  醉梦人生
    2021-01-05 09:57

    Change smtp_port from 465 to 587.

    Make sure $config['newline'] = "\r\n"; is in double quotes not single quotes.

提交回复
热议问题