This module is able to extract a current Drupal user if one corresponds to either the From: or To: email address of a mail, using mail_logger_email_user().

However, this is only used for firing the trigger and rules actions.

If the uids were stored in the database, as two extra columns in the table, then this would be available permanently to Views, and allow filtering, sorting, and so on.

Comments

carvalhar’s picture

hi,
I think this feature is interesting.
A new column "uid" at mail logger table would open this possibility.
If it's a system email (no user) the uid value should go to "-1", if anonymous "0", and if it's a registered user's email, record his uid.

I can start it, but i don't know where to do this.
The first think should be alter the table, but where, at this module, is the function that stores at the database?
And mainly...how to detect if its a system email or anonymous? Is there a way to check it?

thanks

NancyDru’s picture

Issue summary: View changes
Status: Active » Closed (outdated)