Getting Internal Server Error(500) while sending email using php(Codeigniter)

Nikz_kps

Registered
Feb 8, 2016
1
0
1
India
cPanel Access Level
Root Administrator
Hai there,

I'm getting internal server error while sending email using codeigniter. I used the following smtp cofiguration to send mail,

$email_config = Array( 'protocol' => 'smtp',
'smtp_host' => 'mail.domain.com',
'smtp_port' => 465,
'smtp_user' => '[email protected]',
'smtp_pass' => '*****',
'mailtype' => 'html',
'charset' => 'iso-8859-1'
);
 

vanessa

Well-Known Member
PartnerNOC
Sep 26, 2006
833
28
178
Virginia Beach, VA
cPanel Access Level
DataCenter Provider
The information pasted unfortunately is not helpful. An Internal server error is registered by Apache as a result of several possible situations causing the script to be unable to execute. You should start by checking /usr/local/apache/logs/error_logs first to see what the actual error is.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

Yes, as mentioned, could you provide any output from /usr/local/apache/logs/error_log when you notice the error code in your browser?

Thank you.