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.

Possible to disable email system in 1.0 series? (fixed!)

October 23, 2013 11:53am

Subscribe [1]
  • #1 / Oct 23, 2013 11:53am

    fastpete

    12 posts

    Changing from SMTP to PHP fixed it…

    All those years and I never noticed. It didnt much matter that we had no email. I adopted EE weeks after it was first pushed out (2004?) after a year or two of messing round with other systems. and I guess we are “married” for a lifetime!

    Pete

    ****************************

    Dear friends

    A site I have been running for years very successfully on 1.0 series has maybe one more year of useful life.

    Our hoster’s firewall and email system makes outgoing email almost impossible, so we never use the system.

    Whenever anyone posts a comment now it take 15-30 seconds to refresh and an error message “an existing connection was forcibly closed…” on line 1561 of core.email.php: The line in bold here:

    /**——————————————————-
    /**  Send SMTP data
    /**——————————————————-*/

    function send_data($data)
    {
    if ( ! fwrite($this->smtp_connect, $data . $this->newline))
    {
    if ($this->get_debug())
    $this->add_error_message('Unable to send data: '.$data);

    return FALSE;
    }
      else
      return true;
    }
    /* END */

     

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

ExpressionEngine News!

#eecms, #events, #releases