Iam using codeigniter
I exicuted the code on live server. got the following error using print_debugger()
Unable to send email using PHP SMTP.
Change smtp_port from 465 to 587.
smtp_port
Make sure $config['newline'] = "\r\n"; is in double quotes not single quotes.
$config['newline'] = "\r\n";