Answers.Body: <p>Someone else may have a simpler answer, but here's how I would do it:</p>
  
  <ul>
  <li>Install the extensions "CiviRules" and "Email API".</li>
  <li>Create a group called "Requested Data Update Email".</li>
  <li>Create an email template with whatever you want, including the checksum.</li>
  <li>Create a rule that when someone is added to the new group, they receive the email you just created.</li>
  <li>Create a profile (or a Caldera form, if you prefer) that requests email, and any other info you like.  Configure the profile so that submissions add the person to the new group.</li>
  <li>Optionally, add a second action to your rule to remove the person from the group, depending on whether you want them to be able to request the email multiple times or not.</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-21T07:55:28.523Z
Answers.Text: I understand and have done this, up to the "profile that requests the email..."  step. 
   But do I offer folks that profile in Create mode or Edit mode.  If in Edit mode, then they get an error as soon as they visit it anonymously.  And if I offer it in create mode, it wants to CREATE a new user, and gives an error if they enter an already-in-use email.
  
  What I want is for the user to have to enter an email address, without prompting.  If it exists in the database, then we add them to the new group, and all is well.  If it isn't, it should fail with an error message.
Answers.UserDisplayName: David Hyman
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-23T20:36:50.947Z
Answers.Text: In the profile settings under advanced at the bottom there's a field "What to do upon duplicate match". You can choose to update the existing user. So try create mode, but with that setting.
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-20T01:16:19.563Z
Answers.LastActivityDate: 2019-12-20T01:26:30.473Z
Answers.LastEditDate: 2019-12-20T01:26:30.473Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>I am using CiviCRM with WordPress.  I have just learned how to use "contact.checksum" to send an email to a user to safely let them edit their own personal info.  I can do that when they sign up for membership, or other events.  It's great!</p>
  
  <p>I would like to have on my web site a link or button that allows users to fill in an email address and generate an email to that address (with the checksum link).  In other words, "click here to view and edit your data".  </p>
  
  <p>Ideally it would then confirm that the email was sent, but mostly I just want "send the checksum email to me please".  I have the message template ready, but how to I let the user trigger it?  </p>
  
Tags: <wordpress><email><checksum>
Title: How can I allow an anonymous user to generate an email to themself?
ThreadText: # How can I allow an anonymous user to generate an email to themself?
  
  (Asked by: username_0 on 2019-12-20)
  
  I am using CiviCRM with WordPress. I have just learned how to use "contact.checksum" to send an email to a user to safely let them edit their own personal info. I can do that when they sign up for membership, or other events. It's great!
  
  I would like to have on my web site a link or button that allows users to fill in an email address and generate an email to that address (with the checksum link). In other words, "click here to view and edit your data".
  
  Ideally it would then confirm that the email was sent, but mostly I just want "send the checksum email to me please". I have the message template ready, but how to I let the user trigger it?
  
  **Tags:** wordpress, email, checksum
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-12-20. Score: 3
  
  Someone else may have a simpler answer, but here's how I would do it:
  
  * Install the extensions "CiviRules" and "Email API".
  * Create a group called "Requested Data Update Email".
  * Create an email template with whatever you want, including the checksum.
  * Create a rule that when someone is added to the new group, they receive the email you just created.
  * Create a profile (or a Caldera form, if you prefer) that requests email, and any other info you like. Configure the profile so that submissions add the person to the new group.
  * Optionally, add a second action to your rule to remove the person from the group, depending on whether you want them to be able to request the email multiple times or not.
  
  > **Comments:**
  > **username_0**: I understand and have done this, up to the "profile that requests the email..."  step.   But do I offer folks that profile in Create mode or Edit mode.  If in Edit mode, then they get an error as soon as they visit it anonymously.  And if I offer it in create mode, it wants to CREATE a new user, and gives an error if they enter an already-in-use email.  What I want is for the user to have to enter an email address, without prompting.  If it exists in the database, then we add them to the new group, and all is well.  If it isn't, it should fail with an error message.  
  > **username_2**: In the profile settings under advanced at the bottom there's a field "What to do upon duplicate match". You can choose to update the existing user. So try create mode, but with that setting.  
  
  ---
  
  