Download & Extend

add support for Views

Project:Mail Logger
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

I would like to access the mail logs via the Views. How can I access that access without having to write sql or php?

Can this be added in future releases?

Comments

#1

Title:Acces mail logs via Views» add support for Views
Version:6.x-1.0» 6.x-1.x-dev
Component:User interface» Code
Status:active» needs review

Here's a patch that adds support for Views.

- from & to email fields can either link as a mailto: or to the user account if one exists for that email address
- subject, body, mail key, and mail id field can link to the full mail report page, provided the user has access
- the language field piggybacks Locale module's field handler to show the full name of the language
- language field filter and argument require locale module to be enabled
- if Date module is present, the generic date field can be used with all the features that Date provides -- such as date popups for filters.

This patch is cumulative on #1239398: don't use MySQL reserved words for column names -- it uses the updated column names from the patch there.

AttachmentSize
708458.mail_logger.views-support.patch 11.08 KB

#2

joachim, thanks for solving my problem.

I found a solution to this problem by using the "mail logger" module

#3

+1 Patch works for me. I can create and use a View with all mail logger fields. Thanks!

#4

Hold on, not entirely. Db fields are "to" and "from", not "mail_to" and "mail_form". Rerolled the patch.

AttachmentSize
708458.mail_logger.views-support-1.1-patched2.patch 11.41 KB

#5

That is because my patch depends on #1239398: don't use MySQL reserved words for column names.