This patch does this, which makes this awesome module even more awesome!
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | mail_logger_rules-1.1-patched3.patch | 2.84 KB | gnindl |
| #4 | mail_logger.rules_.727210.4.patch | 9.87 KB | aaron |
| mail_logger.rules_.patch | 10.29 KB | aaron |
This patch does this, which makes this awesome module even more awesome!
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | mail_logger_rules-1.1-patched3.patch | 2.84 KB | gnindl |
| #4 | mail_logger.rules_.727210.4.patch | 9.87 KB | aaron |
| mail_logger.rules_.patch | 10.29 KB | aaron |
Comments
Comment #1
aaron commentedfor reference, http://code.iamcal.com/php/rfc822/full_regexp.txt has a more complete regex pattern for extracting the email from the 'to/from' fields. might add that for better token rfc822 support, though in an included file. also, the 'recipient' token will only grab the first recipient if more than one is given.
Comment #2
aaron commentedalso, i cleaned up much of the code, ensuring t()'s and check_plain/markups all around.
Comment #3
aaron commentedand added media_logger_load($mlid), but i didn't drop that into hook_menu. maybe a followup patch, maybe not. :P
that's all for now.
Comment #4
aaron commentedThis adds a condition to match against the mail key, making rules integration even more useful.
Comment #5
litwol commentedTy
Comment #6
kentr commentedI'm not seeing an option for this in the Event choices on Rules, Triggered Rule add form. Should it be there?
Comment #7
barckhoff commentedI tried installing this -- got many errors on the patch. Then I notice that it looks like most, if not all, of these changes are incorporated in the 6.x-1.x-dev version?
From the straight 6.x-1.x-dev version (with no patch installed) I got the following error when looking at Triggers for Mail Logging:
# warning: array_merge() [function.array-merge]: Argument #1 is not an array in /var/www/jobs.kemri/sites/all/modules/mail_logger/mail_logger.module on line 261.
Comment #8
barckhoff commentedComment #9
gnindl commentedThe patch from comment #4 is fine but the committer forgot to include the additional file mail_logger.rules.inc. This is where all rules conditions and events are defined. Compiled a new patch with the new file removing already committed changes.
Comment #10
gnindl commentedChanged status
Comment #11
fizk commentedgnindl, support for other modules is a feature request.
Comment #13
nancydruApplied your patch.
Comment #14
jennifer.chang commentedThe patch committed contains a CVS Id tag, and the header in the mail_logger.css file claims it is an "Install and update functions for Mail Logger module."
Comment #16
nancydruFixed it. Thanks.