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

Upload users does not send email corrcetly, when moodle generates passwords


    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.9.7
    • Fix Version/s: None
    • Component/s: Administration
    • Labels:
    • Environment:
      Centos Linux 4, MySQL 5, Apache 2, PHP 5.2.11
    • Database:
    • Affected Branches:


      If a file of user details is uploaded, and the option is taken for moodle to create the passwords, and email them to the users, the emails are sent out to totally the wrong addresses. Instead of being sent to the address in the user record, it ends up being sent to something like: f5d1278e8109edd94e1e4197e04873b9@dsint01.pteppic.net (from a test on one of our sites - this is also affecting a client site, also 1.9.7 =, on a different server). This address of course is not recognised, and so the mail bounces.

      So, why is the address in the user record not being used?

      All of the settings are standard - the server is using an instance of postfix, locally, to sent smtp mail, via the standard default mail mechanism.

      Emails sent via forums, or in bulk user actions, work OK. It just seems to be the code that initially sends out the passwords that has this problem.

      Sean K

        Gliffy Diagrams



            • Votes:
              3 Vote for this issue
              5 Start watching this issue


              • Created: