If I place any mail related tokens into the recipient field of a tokenized email when I am either creating a new action or editing an old one I get the following error: Enter a valid email address or use a token e-mail address such as [mail].

I have tried all of the email tokens I can think of and none of them work. using %author in the recipient field allows me to save the action without the "enter a valid email address" error.

I want to use the [revision-author-mail] token in the recipient field.

I had switched to token 6.x-1.x-dev from 6.15 because with 6.15 the [revision] tokens weren't expanding when placed in e-mails. updating the module fixed the expansion problem, but now I can't use any mail related tokens in the recipient field or I get the error I mentioned above.

I had a few tokenized email actions with [revision] tokens in the recipient field that I created before I updated tokens and they work fine, but I can't save or edit them with mail tokens in the recipient field or I get the enter a valid email address error again.

I am using drupal 6.19.

I saw a similiar issue in the forums but that involved using mimemail and email cck both of which I do not have installed.

Thanks in advance for any help you can give me!

Comments

dave reid’s picture

Status: Active » Fixed

Sorry, I had a logic validation bug with the recipient form element. This is now fixed in the latest code and will be available in the 6.x-1.x-dev build within 12 hours.
http://drupal.org/cvs?commit=459584

corneo131’s picture

Thanks! It works great!

Status: Fixed » Closed (fixed)

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