ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

SMTP Email Timeout Issues

August 18, 2010 4:36pm

Subscribe [2]
  • #1 / Aug 18, 2010 4:36pm

    ira42

    167 posts

    Hey there,

    A client has been having issues with Freeform,  EE form,  and Communicate emails failing somewhat randomly.  We’ve been trying for weeks to track down the issue.

    Turns out,  their server and exchange server are somewhat slow SOMETIMES,  and what was happening,  was the EE core email routines were timing out after 5 secs.

    Looking at /core/core.email.php,  there’s a setting, “smtp_timeout”,  which defaults to 5 seconds. This should be plenty of time for most servers,  but not this server… 

    Is there any way to override this setting without hacking the core file? 

    We’re running 1.6.9.

    tx!

  • #2 / Aug 18, 2010 4:50pm

    Ingmar

    29245 posts

    You will have to modify a core file. Find core.email.php and change the $smtp_timeout variable near the top of the file.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases