Posted by state76 on May 18, 2009 at 1:19pm
Hi!
My problem is how to automatically send an e-mail to an adress entered in a cck-email field.
On my site also guests are allowed to create own content, which will be published after being checked. These guests should receive an email (if they entered their adress in the cck field) with a link to their content, as soon as it is published.
By using trigger I can only send emails to "%author" or to a fixed Adress. I tried to enter the e-mail fieldname (e.g. "%node_email_field") here, but thats impossible...
Any suggestions for this problem?
Thx, chris
Comments
fieldactions...
...seems to be the answer!
This can be done with the Rules module and Token
This can be done with the Rules module and Token
---
Web Developer For //_Semicolon; South Africa
My Blog
Twitter
LinkedIn
Have you found the solution?
I need to do the same thing. Have you found a solution? :)
Thanks!!!
http://novoselye.dp.ua
Solution
you need modules enabled:
1. actions
2. triggers
3. token
once you have them, you can create "send tokenized email" action and assign it to triggers you want.
http://novoselye.dp.ua
Which token email string do you use ?
i have enabled these 3 modules but i don't have access to another token than %author.
I would like to use cck email field.
No token found for this
thanks
Tokenized email
You can use the tokenized email action for this. I just tried it on one of my sites and it works.
Go to admin/settings/actions
Create "Send tokenized email..."
On the bottom you will see a collapsible menu called "Placeholder tokens" - select it and find the CCK email address field you want to use from the list. It will have a prefix of [field_....]
You must use the "raw" version of the field and place this token in the recipient part of the tokenized email action.
Give it a try...it worked for me!
Hope this helps...
The "raw email" field comes
The "raw email" field comes with a warning (under tokens list) that it contains the raw input by the user... Is that a problem?
For those who have activated
For those who have activated Token and Trigger modules and still don't see the "Send tokenized e-mail" action, check that you have activated the "Token actions" module which is included in the Token module package.