Answers.Body: <p>Following Sprout Forms example templates (<em>/admin/sproutemail/settings/examples</em>): in your email.html file <code>Hi {{ object['yourName'] }}</code> or even <code>Hi {{ object.yourName }}</code>, should print <code>Hi Bob</code>.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-30T15:45:58.950Z
Answers.Text: Thanks. In the end I found that {{ element.yourName }} worked. Not sure if object and element are interchangeable? But thanks for the reply!
Answers.UserDisplayName: Garth
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-30T16:11:22.230Z
Answers.Text: I think it doesn't matter, and even {{ yourName }} should works as a shorthand.
Answers.UserDisplayName: Romain P.
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-29T14:32:28.677Z
Answers.LastActivityDate: 2017-11-29T14:32:28.677Z
Answers.UserDisplayName: Romain P.
Body: <p>I've setup a custom email notification that is sent out after submitting a form. I want to have a set message but with a personalised greeting "Hi Bob". I have the email.html file and that works but I can't figure out how to display the persons name. In my example the field handle it yourName and the form handle is contactForm.</p>
  
  <p>Is this possible?</p>
  
Tags: <plugin-sproutforms>
Title: How to get submitted data in Sprout Forms custom email
ThreadText: # How to get submitted data in Sprout Forms custom email
  
  (Asked by: username_0 on 2017-11-24)
  
  I've setup a custom email notification that is sent out after submitting a form. I want to have a set message but with a personalised greeting "Hi Bob". I have the email.html file and that works but I can't figure out how to display the persons name. In my example the field handle it yourName and the form handle is contactForm.
  
  Is this possible?
  
  **Tags:** plugin-sproutforms
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-11-29. Score: 2 | Accepted answer
  
  Following Sprout Forms example templates (*/admin/sproutemail/settings/examples*): in your email.html file `Hi {{ object['yourName'] }}` or even `Hi {{ object.yourName }}`, should print `Hi Bob`.
  
  > **Comments:**
  > **username_0**: Thanks. In the end I found that {{ element.yourName }} worked. Not sure if object and element are interchangeable? But thanks for the reply!  
  > **username_1**: I think it doesn't matter, and even {{ yourName }} should works as a shorthand.  
  
  ---
  
  