You are here

README.txt in Webform Confirm Email Address 6.3

Same filename and directory in other branches
  1. 6 README.txt
  2. 6.2 README.txt
  3. 7.2 README.txt
  4. 7 README.txt
Purpose of this module
======================

webform_confirm_email is a simple addon module for webform. If you define an email in webform (eg. mydomain.net/node/9999/webform/emails) this email/these emails will be send immediately when the user clicked the webform submit button.
This module allows you to send a 1st email to the email address the user specified in the webform asking him/her to click on a link (the 2nd will not be send). If the user used the link a 2nd email is send. Using this method you can ensure that the email address the user entered is a valid one.

Example 1: Letter writing campaign
==================================

The administrator creates a webform where a user can participate in a letter campaign. The webform contains name and email fields for the user to enter. Further, the administrator defines 2 emails, the first email will be send to the email address the user provided in the webform, the 2nd will be send to the letter writing email target.

When a user submits a webform, he/she receives a 1st email message containing a link that should be followed to confirm the correctness of his/her email address.

When the user uses the confirmation link, the 2nd email will be send to the letterr writing email target.

Example 2: Online petition
==========================

The administrator creates a webform where a user can participate in an online petition. The webform contains name and email fields for the user to enter. Further, the administrator defines 2 emails, the first email will be send to the email address the
user provided in the webform, the 2nd will also be send to the user with a short thank you for participating note.

When a user submits a webform, he/she receives a 1st email message containing a link that should be followed to confirm the correctness of his/her email address.

When the user uses the confirmation link, he/she will receive the 2n email with the thank you note. Further his/her submission can be inserted into the list of petition signers with valid email addresses.

Configuration
=============
You will only notice it is installed when visiting a webform emails configuration tab. That is, if your webform is defined on a node with node ID 19, you'll find the settings by "http://mydomain.net/node/19/webform/emails".
With webform_confirm_email installed you'll see 3 email tables instead of 1, one table for "standard emails", one for "confirmation request emails" and one for "confirmation emails". 

The "standard emails" behave just like normal webform emails, "confirmation reques emails" are send to users asking them to click on a confirmation link and "confirmation emails" are send only when the confirmation link was used.

The forms for changing the 3 different webform email settings (from address, from name, to address, to name, ...) is the same as the webform email settings form.
The only difference is in the 2nd email type, the "confirmation request email", where you have an added entry in the "Token values" list, here you'll find the %confirm_url token that should be used in confirmation request emails. This token will be expanded to the confirmation link. So as an example the content of your "E-mail template" could look like this:

"Hallo %value[first_name] %value[last_name],

  please visit the link below to confirm your submission.

%confirm_url

Thank you!

Your petition team"

Installing
==========

Nothing special, if you're using drush that would be

drush dl webform_confirm_email

drush en webform_confirm_email -y

Updating
========
No updates are provided for all pre 7.x-3.0 versions.

From 7.x-3.0 onwards the will be a continues update path whith updates for releases that change the database structure.

Todo/Plans
==========
* add configurable cron support for expiring (=deleting) old confirmation requests that haven't been confirmed
* provide hook for the event of expired/deleted confirmation requests
* change webform submission result table to filter for confirmed/not confirmed submissions
* add hook for "submission has been confirmed" events
* add rules event for "submission has been confirmed" events
* webform 4 support
* drupal 8 support

File

README.txt
View source
  1. Purpose of this module
  2. ======================
  3. webform_confirm_email is a simple addon module for webform. If you define an email in webform (eg. mydomain.net/node/9999/webform/emails) this email/these emails will be send immediately when the user clicked the webform submit button.
  4. This module allows you to send a 1st email to the email address the user specified in the webform asking him/her to click on a link (the 2nd will not be send). If the user used the link a 2nd email is send. Using this method you can ensure that the email address the user entered is a valid one.
  5. Example 1: Letter writing campaign
  6. ==================================
  7. The administrator creates a webform where a user can participate in a letter campaign. The webform contains name and email fields for the user to enter. Further, the administrator defines 2 emails, the first email will be send to the email address the user provided in the webform, the 2nd will be send to the letter writing email target.
  8. When a user submits a webform, he/she receives a 1st email message containing a link that should be followed to confirm the correctness of his/her email address.
  9. When the user uses the confirmation link, the 2nd email will be send to the letterr writing email target.
  10. Example 2: Online petition
  11. ==========================
  12. The administrator creates a webform where a user can participate in an online petition. The webform contains name and email fields for the user to enter. Further, the administrator defines 2 emails, the first email will be send to the email address the
  13. user provided in the webform, the 2nd will also be send to the user with a short thank you for participating note.
  14. When a user submits a webform, he/she receives a 1st email message containing a link that should be followed to confirm the correctness of his/her email address.
  15. When the user uses the confirmation link, he/she will receive the 2n email with the thank you note. Further his/her submission can be inserted into the list of petition signers with valid email addresses.
  16. Configuration
  17. =============
  18. You will only notice it is installed when visiting a webform emails configuration tab. That is, if your webform is defined on a node with node ID 19, you'll find the settings by "http://mydomain.net/node/19/webform/emails".
  19. With webform_confirm_email installed you'll see 3 email tables instead of 1, one table for "standard emails", one for "confirmation request emails" and one for "confirmation emails".
  20. The "standard emails" behave just like normal webform emails, "confirmation reques emails" are send to users asking them to click on a confirmation link and "confirmation emails" are send only when the confirmation link was used.
  21. The forms for changing the 3 different webform email settings (from address, from name, to address, to name, ...) is the same as the webform email settings form.
  22. The only difference is in the 2nd email type, the "confirmation request email", where you have an added entry in the "Token values" list, here you'll find the %confirm_url token that should be used in confirmation request emails. This token will be expanded to the confirmation link. So as an example the content of your "E-mail template" could look like this:
  23. "Hallo %value[first_name] %value[last_name],
  24. please visit the link below to confirm your submission.
  25. %confirm_url
  26. Thank you!
  27. Your petition team"
  28. Installing
  29. ==========
  30. Nothing special, if you're using drush that would be
  31. drush dl webform_confirm_email
  32. drush en webform_confirm_email -y
  33. Updating
  34. ========
  35. No updates are provided for all pre 7.x-3.0 versions.
  36. From 7.x-3.0 onwards the will be a continues update path whith updates for releases that change the database structure.
  37. Todo/Plans
  38. ==========
  39. * add configurable cron support for expiring (=deleting) old confirmation requests that haven't been confirmed
  40. * provide hook for the event of expired/deleted confirmation requests
  41. * change webform submission result table to filter for confirmed/not confirmed submissions
  42. * add hook for "submission has been confirmed" events
  43. * add rules event for "submission has been confirmed" events
  44. * webform 4 support
  45. * drupal 8 support