By jburnard on
Hi Folks,
Is there a way I can have an unregistered user who fills out a form (and provides their email address in that form) for me to use rules to send them a confirmation email? I can get Rules to send confirmation emails to "users" but I want to do this for unregistered users.
I tried this using the action of "send mail to user" then defining the user as "contents author" but that doesn't work for unregistered users. I guess I need to be able to grab the email address in a token or something to make this work but haven't had any luck...
Thanks for reading.
Comments
what form?
unregistered user who fills out a form, what form are you using?
I meant did you create a custom module or using some other? If you use webform to create a form you can send a confirmation email. But there are many ways. Even in your own module you can send an email.
http://drupal.org/project/webform
Hi, I am using a CCK form
Hi,
I am using a CCK form that I built and Rules to do the workflow after it's submitted. Seems like the only way I can get a confirmation email to go to the person who filled out the form is if they are a registered user which I was trying to avoid.
Thanks much for the reply.
any success? Im prepairing a
any success?
Im prepairing a crowd sourcing application. I want anonymous users to leave their email address with an email cck field. Only after they confirmed their email, their given nodes will be published.... how i can i do all that with rules?
I'm looking for the same
I'm looking for the same feature. It seems "email field" module works with the "rules" but I couldn't set things up yet. Will report if i find the answer.
Use rule "After saving new content"
Hi,
I had the same issue (and you probably have solved it now). The trick is to use the event "After saving new content" and not the form events. Since this is a node event, you will have access to the tokens associated with your CCK fields and by using the action "Send email to an arbitrary user" you can set the email address to be the one of your CCK form ([node:field_email-raw] in my case).
Hope this helps.
Cheers,
Thanks much for your input!
Thanks much for your input!
I've been working for 4 hours
I've been working for 4 hours to send a simple tokenized email to a user, using an email from CCK, after node creation.
Your post saved my day.
thanks!