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

Sending emails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.8.2
    • Fix Version/s: None
    • Component/s: Messages
    • Labels:
      None
    • Affected Branches:
      MOODLE_28_STABLE

      Description

      Is not possible to send emails to users in Moodle 2.8.2+ via SMTP. If I use non-security access (port 25), SSL/TLS (ports 465, 25), evething is without success.

      I used right ports, username and password for email connection and email address. Admin of server confirmed my data...

      We use this version of PHP: http://afnet.upol.cz/info.php

      Maybe there could be a problem with phpmailer?

      I am sure SMTP works correctly, admin checked it via postfixadmin and I did the same via Mozilla Thunderbird and used SSL/TLS,... Everything was OK, without errors...

      So where is the problem? In my previous version of Moodle 2.5 it works correctly!

      Error outputs are:
      2015-01-31 09:07:55 Connection: opening to ssl://mail.afnet.upol.cz:465, t=10, opt=array ()
      2015-01-31 09:07:55 SMTP ERROR: Failed to connect to server: (0)
      2015-01-31 09:07:55 SMTP connect() failed.

      Error calling message processor email:
      line 118 of /lib/classes/message/manager.php: call to debugging()
      line 82 of /lib/classes/message/manager.php: call to core\message\manager::send_message_to_processors()
      line 229 of /lib/messagelib.php: call to core\message\manager::send_message()
      line 2182 of /message/lib.php: call to message_send()
      line 184 of /message/index.php: call to message_post_message()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              brouzdalek Zdeněk Pucholt
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: