Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email not sent, notification appears #125

Open
ferfar92 opened this issue May 11, 2021 · 7 comments
Open

Email not sent, notification appears #125

ferfar92 opened this issue May 11, 2021 · 7 comments
Assignees

Comments

@ferfar92
Copy link

Hello, I hope you are well.

I have installed the plugin, and configured correctly so that the "reminder" is sent before the due date and after the due date of the task activities.

After several days, a "notification" of delayed homework appeared for students who had not contemplated said activity, this is correct, however, it only appears as a notification in moodle, and it did not send any email notifying of the delay.

  • My cron is set up correctly, I also have notifications set to be sent by mail.
  • My moodle version is 3.9.

I look forward to your prompt reply. Greetings!

@isuru89
Copy link
Owner

isuru89 commented May 12, 2021

@ferfar92
The plugin interacts only with Moodle's core messaging system which handles both emails and internal notifications. Generally, the plugin will call the Moodle core function send_message to send a reminder message to this user with this content, and then Moodle internally figures out how to send that to a particular user based on Moodle configurations or user preferences of message outputs.

However, the plugin exposes new message types to be controlled, with the pattern of reminders_* (There are currently 6 message types exposed, such as, reminders_site, reminders_user, reminders_due, reminders_course, reminders_coursecategory and reminders_group)

I feel like this is some (mis)configuration on setting up emails for the messages of the above types. Could you please check whether the above message types are whitelisted for sending emails in Moodle admin settings?

Thanks.

@ferfar92
Copy link
Author

Captura

I enclose the capture, where it is seen that the above-mentioned notifications that are configured to be sent via web and email.

Extra information: My server is VPS, and the incoming and outgoing mail are configured and certified.

Thanks for your quick response!

@ferfar92
Copy link
Author

Hello.

Despite having the configurations, the mail still does not arrive, notifying the next task to be delivered or that it is overdue.

I am still waiting for your comments, greetings!

@isuru89
Copy link
Owner

isuru89 commented May 21, 2021

@ferfar92

  1. Can you verify other emails are sending from the site (non-related to this plugin such as user onboarding etc.)
  2. Also, can you send me a corn log where reminders suppose to trigger and send.

@ferfar92
Copy link
Author

Hi @isuru89. I confirm that my mail plugin works perfectly, the notifications of tasks, quizzes, etc. reach your profile and personal mail.

I did not understand what you mean by "corn log" and if you would kindly tell me how to obtain it, I would appreciate it.

Greetings!

@ferfar92
Copy link
Author

Hi @isuru89.

In follow-up of the problem:

In the plugin settings, check the box to send a notification when "any visible event" has been modified in the calendar.

After modifying a calendar event (Task), the following error occurred (screenshot annex).
WhatsApp Image 2021-06-22 at 2 02 45 AM

I am still waiting for your prompt reply.

Greetings!

@isuru89
Copy link
Owner

isuru89 commented Jun 23, 2021

@ferfar92
The above issue is fixed with plugin version 2.3.1. See here: #126

Could you please upgrade to that version and let me know?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants