1. Kayako Download customers: we will continue to develop and support Kayako Download beyond July 2017, alongside the new Kayako for existing customers.

    Find out more.

Expected response code 250 but got code "452", with message "452 4.3.1 Insufficient system resources

Discussion in 'Technical chat' started by Remi Ketoma, Feb 17, 2016.

  1. Remi Ketoma

    Remi Ketoma New Member

    Hi there,

    our Helpdesk has been working fine until now for no apparent reason, whenever we now want to change a ticket status to "Closed", we get the below error:
    Uncaught Exception
    Expected response code 250 but got code "452", with message "452 4.3.1 Insufficient system resources
    " in .\__swift\thirdparty\SwiftMailer\classes\SwiftMailer\Transport\AbstractSmtpTransport.php:422

    #0 .\__swift\thirdparty\SwiftMailer\classes\SwiftMailer\Transport\AbstractSmtpTransport.php(306): SwiftMailer_Transport_AbstractSmtpTransport->_assertResponseCode('452 4.3.1 Insuf...', Array)
    #1 .\__swift\thirdparty\SwiftMailer\classes\SwiftMailer\Transport\EsmtpTransport.php(224): SwiftMailer_Transport_AbstractSmtpTransport->executeCommand('??.??', Array, Array)
    #2 .\__swift\thirdparty\SwiftMailer\classes\SwiftMailer\Transport\AbstractSmtpTransport.php(356): SwiftMailer_Transport_EsmtpTransport->executeCommand('??.??', Array)
    #3 .\__swift\thirdparty\SwiftMailer\classes\SwiftMailer\Transport\AbstractSmtpTransport.php(474): SwiftMailer_Transport_AbstractSmtpTransport->_streamMessage(Object(SwiftMailer_Message))
    #4 .\__swift\thirdparty\SwiftMailer\classes\SwiftMailer\Transport\AbstractSmtpTransport.php(505): SwiftMailer_Transport_AbstractSmtpTransport->_doMailTransaction(Object(SwiftMailer_Message), 'ITHelpdesk@teli...', Array, Array)
    #5 .\__swift\thirdparty\SwiftMailer\classes\SwiftMailer\Transport\AbstractSmtpTransport.php(185): SwiftMailer_Transport_AbstractSmtpTransport->_sendCc(Object(SwiftMailer_Message), 'ITHelpdesk@teli...', Array, Array)
    #6 .\__swift\thirdparty\SwiftMailer\classes\SwiftMailer\Mailer.php(86): SwiftMailer_Transport_AbstractSmtpTransport->send(Object(SwiftMailer_Message), Array)
    #7 .\__swift\library\Mail\class.SWIFT_Mail.php(513): SwiftMailer_Mailer->send(Object(SwiftMailer_Message))
    #8 .\__apps\tickets\library\Ticket\class.SWIFT_TicketEmailDispatch.php(1168): SWIFT_Mail->SendMail(false, 2)
    #9 .\__apps\tickets\library\Ticket\class.SWIFT_TicketEmailDispatch.php(671): SWIFT_TicketEmailDispatch->Dispatch(2, '<font face="Can...', 'Edvin Talvat,??...', 'IT Helpdesk', 'ITHelpdesk@teli...', 'edvin.talvat@te...', '', Array, Array, '', '')
    #10 .\__apps\tickets\models\Ticket\class.SWIFT_Ticket.php(2434): SWIFT_TicketEmailDispatch->DispatchSurvey()
    #11 .\__apps\tickets\staff\class.Controller_Ticket.php(727): SWIFT_Ticket->SetStatus('3')
    #12 [internal function]: Controller_Ticket->GeneralSubmit('42776', 'mytickets', '-1', '-1', '-1', '0')
    #13 .\__swift\library\MVC\class.SWIFT_Controller.php(369): call_user_func_array(Array, Array)
    #14 .\__swift\library\App\class.SWIFT_App.php(176): SWIFT_Controller::Load(Object(SWIFT_Interface), Object(SWIFT_App_tickets), Object(SWIFT_Router), false)
    #15 .\__swift\library\class.SWIFT.php(16): SWIFT_App->ExecuteController(Object(SWIFT_Router))
    #16 .\__swift\library\class.SWIFT.php(16): SWIFT->Initialize()
    #17 .\__swift\swift.php(16): SWIFT::GetInstance()
    #18 .\staff\index.php(29): require_once('C:\inetpub\wwwr...')
    #19 {main}

    This happens only when we want to change a ticket status to "Closed". Creating a new ticket or changing to another status does not generate any error.

    If I do a refresh after the error appears, ticket gets put to "Closed" status with no issue.

    I have gone to the Admin CP, and checked SMTP settings-they are ok.

    Under Mail Parser>Email Queues>>POP3/IMAP>Verify Connection-no issues registered/connection is ok.

    I have not checked with the Mail Server guys but I'm assuming the SMTP server is ok.

    Any pointers on what i should check now would be very appreciated.

  2. Gary McGrath

    Gary McGrath Staff Member

    Hi there,

    That error is actually coming from your mail server ( specifically it's an exchange mail server error )

    It looks like your exchange server is having issues with resources and denying connections. A quick fix might be to ensure it has sufficient disk space, and then maybe stop/start the services to free up ram ( or a quick reboot )

  3. Remi Ketoma

    Remi Ketoma New Member

    Thanks Gary,

    That was it-we were quite low on storage for the exchange hence this error.

    Thanks again!
  4. matt.hunt

    matt.hunt New Member

    We had the same error except our exchange server had sufficient disk space and ram.

    We simply set the "Use an SMTP server to send email" to No. Kayako will then use PHP_mail() instead of SWIFT to send emails. You'll also have to configure your php.ini file to use PHP_mail():

    [mail function]
    ; For Win32 only.
    ; http://php.net/smtp
    SMTP = mail.mycompant.com
    ; http://php.net/smtp-port
    smtp_port = 25

    ; For Win32 only.
    ; http://php.net/sendmail-from
    sendmail_from = kayako@email.com

    ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
    ; http://php.net/sendmail-path
    sendmail_path = "C:\sendmail\sendmail.exe -t"

    If you are like us and are running Kayako on Windows Server then you will need to download and configure sendmail in order to pass authenication. http://glob.com.au/sendmail/

    Once we started using PHP_mail() the error stopped occurring :)

Share This Page