Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is there possibility to have a content of each email logged ?
Maybe you know some other modules, which can do it ?
Good module. Thanks.
Comment | File | Size | Author |
---|---|---|---|
#10 | mail_logger-add_clear_button-613546.patch | 2.26 KB | WebJohn |
#7 | mail_logger.module.txt | 6.57 KB | mokko |
#4 | clear_log.patch | 2.17 KB | mokko |
Comments
Comment #1
benone CreditAttribution: benone commentedyuhu! it has it ! :)
I didn't noticed that the Subject field is a link to the content. :)
How can I remove emails from the table ? phpMyAdmin or some better way ?
Comment #2
mokko CreditAttribution: mokko commentedSince email content is solved, there remains the other issue: how to empty the log?
I guess there are two ways: empty the log completely or limit the log to some size analog to the watchdog. I am planning to look into this. Any preferences?
Comment #3
benone CreditAttribution: benone commentedSimple empty log button would be enough.
Limit the size of log is a good idea too. But I think it shouldn't be required. Just an option.
Thanks for your reply.
Comment #4
mokko CreditAttribution: mokko commentedHere. It works with me, but it is really a bit crude. Button doesn't look nice, and it is possible to search for non-existent mail keys after you clear the log.
It's the first time I use drupal's form api.
Comment #5
benone CreditAttribution: benone commentedhey I think I can have a problem with installing this patch, because have no idea how to do it automaticaly under windows.
could you give me quick advise what software I should use to do this?
I really would like to test your works and help you doing with those improvments.
Comment #6
mokko CreditAttribution: mokko commentedI am relatively new to patch myself. Actually, I am writing this on a windows machine, but I use cygwin, which by now I know fairly well. I have no idea how to patch under native windows.
But drupal's handbooks are improving. These days I have used http://drupal.org/patch/apply and it worked nicely. There is also a page for applying patches with windows: http://drupal.org/node/60179 for windows.
I hope this helps
I could also apply the patch and send you the whole file. Hang on, I will upload it later.
Comment #7
mokko CreditAttribution: mokko commentedJust replace the existing one with this one. You need to remove the .txt. I had to add it becasue drupal.org doesn't let me upload a .module file.
Comment #8
izmeez CreditAttribution: izmeez commentedsubscribing
Comment #9
joachim CreditAttribution: joachim commentedI think the mail clearing form might be better put on its own tab, rather than at the top of the log viewer.
Also, destructive actions in Drupal should use http://api.drupal.org/api/function/confirm_form/6.
Comment #10
WebJohn CreditAttribution: WebJohn commentedBased on mokko's work, this patch adds the 'clear log' button in a new tab but does not use a confirm form.
Comment #11
fizk CreditAttribution: fizk commentedCommitted! I've always wanted this feature :)