Moodle Plugins directory: Moodle eMail Test | Moodle.org
Moodle eMail Test
Local plugins ::: local_mailtest
Maintained by
Michael Milette
Moodle eMailTest is a powerful tool that enables administrators to test Moodle’s email system with ease. With this plugin, you can rest assured that your emails will be delivered without any hiccups. In case of any issues, a trace of the SMTP dialogue will be displayed. The plugin will also attempt to diagnose the issue and help you identify and resolve the problem quickly.
Latest release:
11468 sites
1k downloads
142 fans
Current versions available: 1
The Moodle eMailTest plugin is a tool that enables administrators to easily test Moodle's mail system. A trace of the SMTP dialogue will be displayed if the email message cannot be sent for any reason. Version 3.x+ comes with a new diagnostic feature that helps you narrow down the issue and offers potential solutions. This feature makes it easier than ever to identify and resolve any problems with your email system.
Please note that once you’ve sent a test email, you’ll need to check your inbox to confirm that the message was delivered successfully. While this plugin won’t do that for you, it will provide troubleshooting suggestions if the email doesn’t make it to your inbox.
Useful links
Contributors
Michael Milette (Lead maintainer)
Please login to view contributors details and/or to contact them
Thanks for sharing this useful tip with the Moodle community. Hope it will help others who use SendGrid.
Currently it is using the no-reply address.
I have setup allowed domains for those email domains our students use and all our students have allow participants of course to see email set.
However when they send an email as mentioned the reply to address is the no-reply one.
When I use the Site administration -> Server -> Email -> eMail Test (This plugin)
The reply to address is the one in the user profile of the sender, the result I want.
However, when I use the Site administration -> Server -> Email -> Outgoing mail configuration
Test outgoing mail configuration
The reply to address is the noreply address, NOT the result I want.
(And this is what happens when a student sends an email from a Forum or Quiz.)
Have you got any insights that may help.
Hope you find it useful.
Best wishes to you all!
Michael Milette
There is a request to install plugin Moodle eMail Test (local_mailtest) version 2023102000 from the Moodle plugins directory on this site. However, the plugin installation pre-check failed (reason code: remoteunavailable).
I suspect this might be an issue with the moodle.org/plugins site. This seems to only affect you if you try to install the plugin directly using the Install button on moodle.org/plugins.
What does work? Download the plugin first and then upload (or drag and drop) it to the Install Plugins page, it installs just fine. Hopefully the Moodle HQ devs will be able to address the issue later today.
Best regards,
Michael
" 403 Forbidden "
nginx
Moodle 5.0
403 Forbidden is usually an issue with the configuration of your web server. More likely than not, it is a file system permissions issue or you are not logged in as a site administrator.
Best regards,
Michael
I tested it on Moodle 5.1 and it seems to work. On Moodle 5.1, make sure you put the file in the /public/local/mailtest directory or install the plugin from Moodle's built-in Plugin Installer.
If this doesn't help, please use the Bug Tracker link on the plugin page to report your issue and we can try to resolve the issue.
Best regards,
Michael
Exception - Call to undefined function local_mailtest_generate_email_user()
Debug info:
Error code: generalexceptionmessage
Stack trace:
line 77 of /local/mailtest/index.php: Error thrown
I tested the plugin on Moodle 4.5.8 and it works perfectly.
The local_mailtest_generate_email_user function is definedon line 35 of locallib.php. The locallib.php file is included on line 32 of index.php. So, I am not seeing how it can be failing.
That said, here are a few things you can check:
1. Make sure that you have version 2025042700 (release 3.1.7) installed.
2. Check the file permissions.
3. Purge your Moodle cache.
4. Uninstall and re-install the plugin (you should not need to do that).
Hope something in all this helps.
Best regards,
Michael Milette
Yes, I've installed the latest version 2025042700 (release 3.1.7).
File permissions should be fine.
I just purged the cache.
Still having the same errors