mail to deleted account (account expire)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Triaged
|
Low
|
Unassigned |
Bug Description
mahara version: 1.4.1
OS: debian squeeze
db: mysql 5.1.63-0+squeeze1
=========mysql table usr==============
username: NNN.deleted.
active : 0
deleted: 1
expiry: NULL
expirymailsent: 0
lastlogin: 2011-09-22 11:28:13
lastlastlogin: 2011-09-22 11:12:43
lastaccess: 2011-09-22 11:28:13
email: <email address hidden>
inactivemailsent: 0
suspendedctime: NULL
suspendedreason: NULL
suspendedcusr: NULL
====cron: mail delivery failed=======
lib/user.php:422) Cannot send email to (NNN.deleted.
Call stack (most recent first):
* email_user(
Ihr Zugang bei FCZB E-Portfolio ...", "<p>Hallo ,</p>
<p>Ihr Zugang ...") at ...auth/
* _email_
Ihr Zugang bei ...", "<p>Hallo ,</p>
Hello Michaela,
What's the bug that you are reporting? Is it that emails are still sent to expired accounts? Accounts do not get deleted by Mahara automatically. They are either inactive or expired. When an account is deleted, there is no reference to it anywhere in the DB and thus no mails would be sent.
Cheers
Kristina