[Moodle 3.2] Issue with incoming/outggoing mail

[Moodle 3.2] Issue with incoming/outggoing mail

by Noctis Yamazaki -
Number of replies: 2

Hi there,


Thanks a lot in advanced! Any inputs will help!


Intention:

As I am developing an online course, I would like to receive email information about the user/student who once finish the quiz, the server will email me, as admin, an email about the report of the quiz.


Therefore, under the settings: Site administration -> Plugins -> Message outputs -> Default message outputs


Default Message Outputs


I literarily enabled email notification for everything, just for debugging purposes. Also, under Site administration -> Plugins -> Message outputs -> Manage message outputs:


Enabled


In addition to that, I have the debug messages enabled as well under Site administration -> Development -> Debugging:


Debugging


When it comes to Outgoing mail configuration as Site administration -> Server -> Email -> Outgoing mail configuration:

Outgoing mail

Moreover, when it comes to the No-reply and admin as under Site administration -> Server -> Email -> Outgoing mail configuration:

No-reply

Which I used the same email address as for the outgoing mailbox.

As well as:

Email via information

When it comes to the Incoming mail server settings, I literarily used the same settings I used while using Windows Mail, which should be working just fine, as shown under Site administration -> Server -> Email -> Incoming mail configuration:

Incoming

In addition, I did install the eMail test plugin just to see what's going on

  • User's IP address : 130.126.105.245 2018-12-13 16:07:29 CLIENT -> SERVER:
2018-12-13 16:07:29 CLIENT -> SERVER: 2018-12-13 16:07:29 CLIENT -> SERVER: 2018-12-13 16:07:29 CLIENT -> SERVER: [Random stuff here] 2018-12-13 16:07:29 CLIENT -> SERVER: 2018-12-13 16:07:29 CLIENT -> SERVER: . 2018-12-13 16:07:29 SMTP -> get_lines(): $data is "" 2018-12-13 16:07:29 SMTP -> get_lines(): $str is "250 Requested mail action okay, completed: id=[Random stuff here] " 2018-12-13 16:07:29 SERVER -> CLIENT: 250 Requested mail action okay, completed: id=[Random stuff here] 2018-12-13 16:07:29 CLIENT -> SERVER: QUIT 2018-12-13 16:07:30 SMTP -> get_lines(): $data is "" 2018-12-13 16:07:30 SMTP -> get_lines(): $str is "221 gmx.com Service closing transmission channel " 2018-12-13 16:07:30 SERVER -> CLIENT: 221 gmx.com Service closing transmission channel 2018-12-13 16:07:30 Connection: closedIn my recipient mailbox, I did receive the test email.


When I try to ask user to finish a quiz, and according to my cron, it is showing:


</pre>Execute scheduled task: Award badges (core\task\badges_cron_task)
... started 17:42:20. Current memory use 6MB.
Started reviewing available badges.
Badges were issued 0 time(s).
Sending scheduled badge notifications.
... used 2 dbqueries
... used 0.00073909759521484 seconds
Scheduled task complete: Award badges (core\task\badges_cron_task)
<pre>
</pre>Execute scheduled task: Forum mailings and maintenance jobs (mod_forum\task\cron_task)
... started 17:42:20. Current memory use 6.6MB.
Starting digest processing...
Cleaned old digest records
... used 7 dbqueries
... used 0.0063979625701904 seconds
Scheduled task complete: Forum mailings and maintenance jobs (mod_forum\task\cron_task)
<pre>
</pre>Execute scheduled task: Cleanup event monitor events (tool_monitor\task\clean_events)
... started 17:42:20. Current memory use 7.3MB.
... used 0 dbqueries
... used 0.00022315979003906 seconds
Scheduled task complete: Cleanup event monitor events (tool_monitor\task\clean_events)
<pre>
</pre>Execute scheduled task: Incoming email pickup (tool_messageinbound\task\pickup_task)
... started 17:42:20. Current memory use 7.3MB.
Connecting to imap.gmx.com:993 as [some random doggo meme here]@gmx.com...
Connection established.
Searching for Unseen, Unflagged email in the folder 'INBOX'
Found 0 messages to parse. Parsing...
... used 0 dbqueries
... used 1.9392499923706 seconds
Scheduled task complete: Incoming email pickup (tool_messageinbound\task\pickup_task)
<pre>
</pre>Cron script completed correctly
Cron completed at 17:42:22. Memory used 7.5MB.
Execution took 2.110537 seconds
Where I got no report to my admin email. Which is weird.


I suspect that the IMAP doesn't work as intended, and I checked all the folders, I see no emails under any folders.


So, what should I look into to get it fixed? (Or do I need to upgrade to 3.6 or something to get OAuth2 working with Gmail as someone mentioned before it would work?)


Please let me know! Thanks a lot as usual. Mailbox is from gmx.com.

Average of ratings: -
In reply to Noctis Yamazaki

Re: [Moodle 3.2] Issue with incoming/outggoing mail

by Noctis Yamazaki -

So, in brief, I can't test IMAP, and also the emailing seems to be broken. Any ideas about how to troubleshooting this?


Thanks a lot in advanced!

In reply to Noctis Yamazaki

Re: [Moodle 3.2] Issue with incoming/outggoing mail

by Noctis Yamazaki -

Sorry, is there anyone here can shine some lights on how to solve this issue?