Hi:
I can't seem to get my fresh Moodle 2.0.2+ installation to send the "Welcome" email (containing new user's username and automatically-generated temporary password) to new users created through the CSV Upload Users method.
I have had the same problem all weekend with my fresh Moodle 2.0.1+ installation.
I have used this CSV Upload Users method successfully in previous Moodle 1.9.5-10 installations. Emails were sent without problem.
I am using exactly the same CSV file setup that worked fine for me in Moodle 1.9.10. I'm using the same Authentication methods (Manual Accounts and No Login enabled) and Enrolment methods (Manual Enrolments, Flat File (CSV), Course Meta Link, Guest Access, Cohort Sync enabled) in 2.0.2 that worked for me in 1.9.10 (excepting the new Course Meta Link and Cohort Sync, of course). Password policy is enabled.
In my CSV file, I have left the Password field empty and on the Upload Users Preview page I set the New User Password field to "Create password if needed". All of this should trigger Moodle to upload the new users, generate random temporary passwords for them, and then send the "Your account has been created" emails when triggered by cron.php (which I have run manually 20-25 times to ensure cron.php does get a chance to do its job). Doing all this is what has worked for me many times before in 1.9.5-10.
But in 2.0.1 and 2.0.2 no "Welcome, your new account has been created" emails are sent to my new test users. Their user accounts are created fine. The database "emailstop" field in the mdl_user table is set to "0" so the email addresses are enabled, I believe.
The new user "password" fields are set to this string: 2e40bdf6d00c1776effe40ceff3420e0
If I go to my Moodle login screen and click the "Forgot your username or password?" link and fill in one of the new user usernames, then Moodle correctly sends the two confirmation emails required to reset the password. I can then login as this new user. So Moodle is able to send emails to the correct addresses.
Am I missing something here? Is it something I am or am not doing? Or is it a bug? I've searched the forums and Tracker but don't find others with exactly this issue and experience.
Thanks.