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

joachim’s picture

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
StatusFileSize
new11.08 KB

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.

Rodeo.be’s picture

joachim, thanks for solving my problem.

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

gnindl’s picture

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

gnindl’s picture

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

joachim’s picture

alex72rm’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Issue summary: View changes
Status: Needs review » Active

Dear all,

it lacks a views integration feature for Drupal 7 version.

fizk’s picture

Status: Active » Patch (to be ported)

Fixed for Drupal 6. Needs to be ported to Drupal 7.

  • Commit 2ae0d82 on 6.x-1.x by fizk:
    #708458 joachim: Add Views module support.
    
fizk’s picture

Rodeo.be’s picture

Super to see this issue resolved. Thx guys!

  • fizk committed 2fb9bab on 7.x-1.x
    Issue #708458 by joachim, gnindl, fizk: add support for Views
    
fizk’s picture

Status: Patch (to be ported) » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.