Closed (fixed)
Project:
Mime Mail
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Nov 2010 at 11:15 UTC
Updated:
27 Nov 2010 at 10:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
sgabe commentedPlease try the attached patch.
Comment #2
crizWhen got this mimemail_rules_action_mail_validate() introduced?
Because of tokens and php evaluation we moved all validation to mimemail_rules_form_settings_process(). What about validating emails there? In this state php evaluation and tokens should be applied.
@patch
Don't forget that also php evaluation should be supported.
Comment #3
sgabe commentedHoly... You're right. I moved this segment here from the Drupal action form, but I see I shouldn't have. I guess it will be just simply removed.
Comment #4
butler360 commentedSorry, I don't follow what you're saying above. If I want to use tokens for sender and receiver do I apply the patch in #3? And are there any side-effects?
Comment #5
sgabe commentedThe patch removes the validation. The only side-effect is that you can enter an invalid e-mail address in the form, but I think in the most cases you will use tokens and PHP evaluation, so the validation is needless. Note that Rules actions doesn't use this kind of validation by default.
Comment #6
butler360 commentedOK, sorry for the delay, but the patch applies just fine and it seems to work. Thanks!
Comment #7
sgabe commentedCommitted to DRUPAL-6--1 branch, will be available in the development snapshot soon. Sorry for the inconvenience fellas.