The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'E-mail Discussions' 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:
    817
    Likes Received:
    22
    Trophy Points:
    18
    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.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page