Send a reminder

Events happening in the community are now at Drupal community events on www.drupal.org.
minus's picture

Hi

I have a webform where users register their name and e-mail address (and some other fields).

Is it possible to send a reminder to the e-mail address which the user submitted through the webform?

What I have done so far is enabled the Form Events module that comes with Rules, activated "Forms where events are activated: Webform emails form" created a triggered rule which uses the event "Webform emails form is submitted".
Created one condition "Form element 'e_post' value check" (is it possible to check if that field contains an @?)
And a DO : "Send a mail to an arbitrary mail address" (is it possible to use the address which the user submitted throug the webform?)

This would be scheduled + 48 hours from the webform submitted date.

I really hope this can be done.

Best regards
Morten

Comments

Don't know of any way

itangalo's picture

I don't know of any way of retrieving information from within webform submissions with Rules, and writing a module that does that would probably take quite some effort. :-(

The e-mailing functions (and the @ verification!) comes out of the box with Webform, but delaying the e-mail sounds like a task for Rules Scheduler. My guess is, however, that it will be easier to write a custom module to delay (or repeat) the e-mail than to integrate it with Rules.

Sorry for the bad news.
//Johan Falk, NodeOne, Sweden

Thank you for answering Johan

minus's picture

Thank you for answering Johan :)

I'm not trying to delay the confirmation email or anything. I'm just trying to let the system send an email to the person who used the webform.

Maybe it's possible to create a form like that with cck, e-mail field, workflow, token and rules. I have read that the E-mail Field module supports Token though I have never created a content type with this functionality and I'm not sure if it's even possible.

Guess i'll have to keep digging.

Thank you!
Morten

The Webform module?

itangalo's picture

Just to make sure – are you using the Webform module?
It has built-in functions for stuff like e-mail fields, and also to send e-mails on completed submissions. The receiver can be entered manually and/or adresses that are entered in the form.

I interpreted "This would be scheduled + 48 hours from the webform submitted date." as you wanting to delay the e-mail, but if I'm mistaking you should have all you wish for in the Webform module.

Good luck!
//Johan Falk, NodeOne, Sweden

Yes I am using the webform

minus's picture

Yes I am using the webform :-)

I have created a form where users enters their name, email and a file. When submitting the form the results are sent to a dealer and me, a copy is sent to the user who submitted the form (basic webform functionality).

This is business.
Within 48 hours, we want to send an email asking the user who submitted the form if he/she got any help from the dealer. I hoped drupal could send this message using token and rules.

Is this possilbe or am i high on snus? :p

Morten

subcribing

jp2020's picture

.

Don't think it is possible with existing events

itangalo's picture

There is as far as I know no event 'Webform has been submitted' exposed to Rules. It would be a nice patch for Webform, but as long as it is missing there is no reasonable way of trigger follow-up e-mails on webform submissions.

Maybe you could use the alternative to perform extra validations, and add a PHP snippet that calls a rule set (or schedules one). But that would be a hack, pretty similar to just writing a custom mini module that triggers on new submissions. A clean and sustainable solution would be to extend Webform to integrate with Rules.

I hope this can be of help. :-)
//Johan Falk, NodeOne, Sweden

Drupal webdesigner's picture

http://yadadrop.com/drupal-video/using-rules-send-multiple-expiring-soon...

I haven't looked at it because iam on the ipad but it sounds like a solution.

Were struggeling with a familiar point where we want to use the userid that we get put in a hidden field in webforms with %get to use it in Rules for sending a message to that user.

If anyone knows a solution please share.

Need to do this thing in 7.x

chegor's picture

Need to do this thing in 7.x but can't find solution.

Rules

Group organizers

Group categories

Categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: