Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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

Discussion in 'E-mail Discussion' started by Nikz_kps, Feb 8, 2016.

  1. Nikz_kps

    Nikz_kps Registered

    Joined:
    Feb 8, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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' => 'no-replay@domain.com',
    'smtp_pass' => '*****',
    'mailtype' => 'html',
    'charset' => 'iso-8859-1'
    );
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    834
    Likes Received:
    28
    Trophy Points:
    178
    Location:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice