General plugins (Local): Moodle Mail Test for Testing Site Email

Re: General plugins (Local): Moodle Mail Test for Testing Site Email

โดย Michael Milette -
Number of replies: 6
รูปภาพของCore developers รูปภาพของDocumentation writers รูปภาพของParticularly helpful Moodlers รูปภาพของPlugin developers รูปภาพของTesters รูปภาพของTranslators

Hi Moodle Community!

Just in time for the long awaited Moodle 3.1 LTS, TNG Consulting Inc. has just release the second version of Mail Test which enables Moodle administrators to easily test their Moodle site's SMTP configuration and ensure that emails are being delivered correctly. Both developers and system administrators will find this plugin valuable when setting up a new instance of Moodle or for troubleshooting issues with existing installations.

You can get the latest version of the MailTest plugin here: https://moodle.org/plugins/view/local_mailtest

New in this release:

  • French Translation in AMOS - Update your French language packs!
  • Displays whether the test is using the PHP mail() function or talking directly to the SMTP server.
  • Option to choose whether test email will be sent from your email address, the noreply user email address, or the support email address.
  • Moodle MailTest is now compatible with Moodle 2.5 to 3.1 LTS.
  • README.md now contains answers to common questions (FAQ).
  • Added CHANGELOG.md file.
  • Added link to plugin's discussion forum in the plugin's Moodle.org Plugins directory.

Feel free to post questions and suggestions.

Best regards,

Michael Milette

การประเมินโดยเฉลี่ย: -
In reply to Michael Milette

Re: General plugins (Local): Moodle Mail Test for Testing Site Email

โดย marwa bekrar -

Hello Michael Milette,

I installed your plugin on my moodle platform successfully : 



But when I test, I get this error: 



Here is my Email settings: 


I kept everything in default settings. What is wrong in my settings ? 


Thank you. 


 

การประเมินโดยเฉลี่ย: -
In reply to marwa bekrar

Re: General plugins (Local): Moodle Mail Test for Testing Site Email

โดย Emma Richardson -
รูปภาพของDocumentation writers รูปภาพของParticularly helpful Moodlers รูปภาพของPlugin developers

Do you have a php mailer installed on your server?

การประเมินโดยเฉลี่ย:Useful (1)
In reply to Emma Richardson

Re: General plugins (Local): Moodle Mail Test for Testing Site Email

โดย marwa bekrar -

Hello Emma,

I installed it with this command : sudo apt-get install libphp-phpmailer

If there is another procedure to follow, please show it to me . 

I use PHP 7.0.8 on ubuntu server 16.04

Thanks. 



การประเมินโดยเฉลี่ย: -
In reply to marwa bekrar

Re: General plugins (Local): Moodle Mail Test for Testing Site Email

โดย Michael Milette -
รูปภาพของCore developers รูปภาพของDocumentation writers รูปภาพของParticularly helpful Moodlers รูปภาพของPlugin developers รูปภาพของTesters รูปภาพของTranslators

Hi Marwa,

Although you've already resolved your issue, I will expand a little on what appears to have happened.

The fact that the SMTP hosts field is empty in your screenshot tells me that Moodle is trying to use SendMail. The reason there is no additional information is due to the fact that it Moodle could not establish any communication at all with a mail server.

In order to make Moodle work, you always have to either configure your settings in Moodle or in SendMail (or something similar). As you discovered, in your case the problem was with the SendMail configuration.

The latest version of eMailTest, released on November 27th 2016 on Moodle.org, actually provides additional information for this exact situation. You must have installed the old version just before I made the new one available.

Glad to hear that everything is working for you.

Best regards,

         Michael

การประเมินโดยเฉลี่ย:Useful (1)