← Back to team overview

mahara-contributors team mailing list archive

[Bug 795589] Re: Couldn't send email to user

 

Hi Michael,

Is that the same configuration that you use for Moodle? In particular,
do you use SSL or TLS to connect to your mail server? Is it on port 25?

Cheers,
Francois

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/795589

Title:
  Couldn't send email to user

Status in Mahara ePortfolio:
  Incomplete

Bug description:
  Mahara v1.4rc4
  Linux 2.6.26-2
  PHP 5.2.6
  Apache-Server 2.2.9
  Postgresql-Server 8.4

  The mahara-installation can not send any emails, see the output of the notifications:
  ---
  exception 'EmailException' with message 'Couldn't send email to user with subject Mahara: ... Error from phpmailer was: SMTP Error: Could not authenticate.' in /var/www/mahara/lib/user.php:457
  Stack trace:
  #0 /var/www/mahara/notification/email/lib.php(97): email_user(Object(stdClass), NULL, 'Mahara', '...', NULL, NULL)
  #1 [internal function]: PluginNotificationEmail::notify_user(Object(stdClass), Object(stdClass))
  #2 /var/www/mahara/lib/mahara.php(1184): call_user_func_array(Array, Array)
  #3 /var/www/mahara/lib/activity.php(462): call_static_method('PluginNotificat...', 'notify_user', Object(stdClass), Object(stdClass))
  #4 /var/www/mahara/lib/activity.php(489): ActivityType->notify_user(Object(stdClass))
  #5 /var/www/mahara/lib/activity.php(82): ActivityType->notify_users()
  #6 /var/www/mahara/lib/activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
  #7 /var/www/mahara/lib/institution.php(289): activity_occurred('institutionmess...', Object(stdClass))
  #8 /var/www/mahara/admin/users/institutionusers.php(203): Institution->inviteUser(9)
  #9 [internal function]: institutionusers_submit(Object(Pieform), Array)
  #10 /var/www/mahara/lib/pieforms/pieform.php(512): call_user_func_array('institutionuser...', Array)
  #11 /var/www/mahara/lib/pieforms/pieform.php(161): Pieform->__construct(Array)
  #12 /var/www/mahara/lib/pieforms/pieform.php(71): Pieform::process(Array)
  #13 /var/www/mahara/admin/users/institutionusers.php(143): pieform(Array)
  #14 {main}
  ---

  Is it a bug or a miss-configuration of the server?

  Thank`s and glad about any answers.
  michael

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/795589/+subscriptions


References