← Back to team overview

mahara-contributors team mailing list archive

[Bug 813253] A change has been merged

 

Reviewed:  https://reviews.mahara.org/892
Committed: http://gitorious.org/mahara/mahara/commit/e8eeeb014f200df35f765d8dfd9e23cbaaaad206
Submitter: Richard Mansfield (richardm@xxxxxxxxxx)
Branch:    master

commit e8eeeb014f200df35f765d8dfd9e23cbaaaad206
Author: Melissa Draper <melissa@xxxxxxxxxxxxxxx>
Date:   Mon Nov 28 13:54:07 2011 +1300

    Add admin warning about invalid noreply address (bug #813253)
    
    Add a check to ensure the address is valid, and direct user to the
    config section with a link in the error message.
    
    Change-Id: I205351c71447a21e3c8441a861e7febb6c71de80
    Signed-off-by: Melissa Draper <melissa@xxxxxxxxxxxxxxx>

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

Title:
  registration fails displaying unknown error when noreply address not
  set

Status in Mahara ePortfolio:
  In Progress

Bug description:
  in register/reason.php:166

  displays this message
  Sorry, your registration attempt was unsuccessful. This is our fault, not yours. Please try again later.

  error log is
  [WAR] 03 (register/reason.php:116) InvalidEmailException Object
  [WAR] 03 (register/reason.php:116) (
  [WAR] 03 (register/reason.php:116)     [log:protected] => 1
  [WAR] 03 (register/reason.php:116)     [message:protected] => Cannot send email to gsd gsd with subject Confirm email for registration at Mahara. Error from phpmailer was: Invalid address: noreply@localhost
  [WAR] 03 (register/reason.php:116)     [string:Exception:private] => 
  [WAR] 03 (register/reason.php:116)     [code:protected] => 0
  [WAR] 03 (register/reason.php:116)     [file:protected] => /home/hugh/src/mahara/mahara/htdocs/lib/user.php
  [WAR] 03 (register/reason.php:116)     [line:protected] => 521
  [WAR] 03 (register/reason.php:116)     [trace:Exception:private] => Array
  [WAR] 03 (register/reason.php:116)         (
  [WAR] 03 (register/reason.php:116)             [0] => Array
  [WAR] 03 (register/reason.php:116)                 (
  [WAR] 03 (register/reason.php:116)                     [file] => /home/hugh/src/mahara/mahara/htdocs/register/reason.php
  [WAR] 03 (register/reason.php:116)                     [line] => 113
  [WAR] 03 (register/reason.php:116)                     [function] => email_user
  [WAR] 03 (register/reason.php:116)                     [args] => Array

  plus a dump of the email

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


References