Forums | Mahara Community

Developers /
Error messages "User notification error was probably caused by your server configuration."


Emilie Lenel's profile picture
Posts: 112

08 January 2015, 3:23

Hello

During the last 2 weeks, we received many error notifications :

However, we had no issues with smtp server... Any idea of what could be the issue ?

Thanks

BR

Emilie Lenel


Eportfolio UNICAEN: User notification error was probably caused by your server configuration.

exception 'EmailException' with message 'Couldn't send email to firstname
Lastname with subject Eportfolio UNICAEN: Nouvel accès à une page. Error from
phpmailer was: SMTP connect() failed.' in
/media/mahara/www/mahara/htdocs/lib/user.php:686
Stack trace:
#0 /media/mahara/www/mahara/htdocs/notification/email/lib.php(86):
email_user(Object(stdClass), NULL, 'Eportfolio UNIC...', 'Une notificatio...',
NULL, NULL)
#1 [internal function]: PluginNotificationEmail::notify_user(Object(stdClass),
Object(stdClass))
#2 /media/mahara/www/mahara/htdocs/lib/mahara.php(1562):
call_user_func_array(Array, Array)
#3 /media/mahara/www/mahara/htdocs/lib/activity.php(722):
call_static_method('PluginNotificat...', 'notify_user', Object(stdClass),
Object(stdClass))
#4 /media/mahara/www/mahara/htdocs/lib/activity.php(780):
ActivityType->notify_user(Object(stdClass))
#5 /media/mahara/www/mahara/htdocs/lib/activity.php(75):
ActivityType->notify_users()
#6 /media/mahara/www/mahara/htdocs/lib/activity.php(203): handle_activity('4',
Object(stdClass), true, Object(stdClass))
#7 /media/mahara/www/mahara/htdocs/lib/cron.php(142): activity_process_queue()
#8 {main}

Kristina Hoeppner's profile picture
Posts: 4715

08 January 2015, 16:51

Hello Emilie,

Do any of your site admins have notifications set up to receive them in an email digest?

Cheers

Kristina

 

Emilie Lenel's profile picture
Posts: 112

08 January 2015, 21:39

Hello Kristina

I am site admin so i received all email notifications, including these system messages.

Cheers

And all the best for 2015 !! :-)

Emilie

Kristina Hoeppner's profile picture
Posts: 4715

09 January 2015, 11:33

Hello Emilie,

Sorry I wasn't clear. Can you please go to /admin/users/notifications.php (Administration -> Institutions -> Admin notifications) and check if any admins have set any notifications to "Digest"?

All the best for this year for you, too.

Cheers

Kristina

 

Sarah Ricketts's profile picture
Posts: 1

30 April 2015, 0:20

Version: Mahara 1.9.2.

Hi, wondering if anyone can help.  We've got the same notification issue, with a slightly different message:

"User notification error was probably caused by your server configuration.

exception 'EmailException' with message 'Couldn't send email to XX with subject New feedback on XXPAGENAME. Error from phpmailer was: SMTP Error: The following recipients failed: [email protected] in /homepages/5/d535415592/htdocs/Maharalive/lib/user.php:686....
 
The failed notification messages are appearing in batches and when we try and send test emails they are being sent/received fine:

1. 12 of them on 11/03/15
2. 10 of them on 05/03/15
3. 3 of them on 25/02/15
4. 4 of them on 11/02/15

There's nothing in between these dates.  For each learner failed email, it then tries to tell one of our Admins which also fails, so there is an email for learner plus 1 for admin for each issue raised (and i've seen that being reported elsewhere on here).  I've checked and the learners that it is trying to email has a valid email address as does the Admin user.

None of our Admins have notifications set to 'Digest' they're all set to 'email'.

Am I missing something obvious?  Could it just be a problem with SMTP on those dates and we need to check the logs for that service?

Kind regards,

Sarah

Aaron Wells's profile picture
Posts: 896

30 April 2015, 17:30

Hi Sarah,

Yeah, that error message sounds like it's probably a problem on the SMTP side of things. So checking your mail server's logs would be a good place to start.

Cheers,

Aaron

6 results