forum emails not sent for a particular user

forum emails not sent for a particular user

by Nick Freeman -
Number of replies: 1

I'm not sure where is best to post this so I'm happy to take advice on that.

I have a user who is not being sent their forum subscription emails, whilst it would appear that all of our other Moodle users are.

This user's details appear in the cron log the same way as all other users, for example (the user in question is user id 67):

 

Processing user 166959

Sending post 104827: Re: Week 2 Activity 5

Processing user 166957

Sending post 104827: Re: Week 2 Activity 5

Processing user 120966

Processing user 67

Sending post 104831: Re: Week 5 - topics 3 &4

Processing user 118626

Sending post 104831: Re: Week 5 - topics 3 &4

 

However, when I turn on 'Debug email sending', all other forum emails get an extra >250 rows of verbose debug information starting and ending:

 

Processing user 14

Sending <pre>

SMTP -> get_lines(): $data was ""

<br />SMTP -> get_lines(): $str is

...

...

<br /></pre>post 105557: 'Forum test 6'

Whereas forum emails for our user 67 only gets the same two lines as normal:

Processing user 67

Sending post 105559: Forum test 6

Which I guess explains why we can't find any trace of this user's forum emails on our email server logs.

Can anyone provide any guidance as to why this might happen for a user?

 

Thanks in advance

Nick

Average of ratings: -
In reply to Nick Freeman

Re: forum emails not sent for a particular user

by Andrew Lyons -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Nick,

Get this user to check their message settings. It's possible for them to choose how they receive notifications, and they may have changed these settings so that they do not receive forum e-mails, and have now forgotten about it.

This can be found at:

Administration -> My profile settings -> Messaging

Search for "Subscribed forum posts".

Andrew