I have a:
- Are you sure PHP is configured the same on this server to allow it to send email?
- Is cron running on this Moodle install?
Thank you all for your help
Work around found
after doing some reading in the forums I tried to do the following:
I tried to delete the lib/phpmailer and upload the original directory from the downloaded moodle package & restart the server- did not solve the problem
I tried to delete the lib/phpmailer and upload the original directory from the downloaded moodle package 2.5.3 & restart the server- did not solve the problem
only after taking the lib/phpmailer from version 2.4.7 and placing it instead of /lib/phpmailer of 2.6.0 it problem solve...
I am not sure where the problem is, but something is wrong with the code.
I found the work around and published it
I normally start by making sure I can send email from the same server as Moodle (using some other mail client) through the same SMTP server. Most of the time I tend to find a firewall or the SMTP server itself is blocking the mail.
I found a work around and published it...
I am sorry to disturb you. But my Moodle 2.6 is also not sending emails for example for news forum notifications - and our term is starting real soon. The users all have the right messaging options on their profiles. I also tried to replace the phpmailer as per the relevant threads in the Moodle forums but all with no success.
You said you found a work around and published it..is this different from using 2.4.7 of the phpmailer?
thanks for listening...
try taking lib/phpmailer from version 2.4.7 and placing it instead of lib/phpmailer of your version (rename the original one, do not delete it).
it worked for me
I also upgraded from 2.4 to 2.6 and this happend. I would like to thank you for the workaround. hope they fix it soon. its a bit weird.
i have replaced the phpmailer with the one from moodle 2.4. what should i do next..\
- normal procedure ( add my gmail to moodle ) ?
- should i change anything with the classmailer.php or php.ini.?
- OR should i leave the email settings in moodle blank?