Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-6196

Can't send email

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.6.1
    • 1.6.5, 1.7.2, 1.8, 1.9
    • General
    • None
    • Linux
    • MySQL
    • MOODLE_16_STABLE
    • MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

    Description

      It seems like a bug has existed for a long time since 1.6

      After upgrade to 1.6 from 1.5.3 several days ago, I found moodle can't send email. In the send email page, after submiting and waiting for a long time, I got the message:

      Fatal error: Maximum execution time of 30 seconds exceeded in /........./moodle/lib/textlib.class.php on line 215

      The line number is not a constant. Sometimes it is in function strlen and substr.

      I traced the code and found that moodle went into a infinite loop in function CreateHeader() of phpmailer.

      It's a fatal bug but I don't know why nobody reported it. Only me meet it?

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              sunner Sunner Sun
              Nobody Nobody
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                30/Mar/07