Reply To: Last name in confirmation email

This is the code in my form settings:

First Name
Last Name
[custom text LastName * maxlength=”50″ title=”Last Name”]

I try this in the html email but it doesn’t work:

[thename] [LastName]

I also tried this and it doesn’t work:

[custom text LastName]

Please explain what I should put in my html email source code so that I can get firstname and lastname in email.