For convenience sake, I’d like to add the “name” and “from” values (of people who are NOT members) from my contact form into the body of the sent email. I know they show up in the address line, but I’d like to include them in the body as well.
This seems like it would be a simple thing, so I feel a little silly asking.
Russ
You can get the persons name into the email body by changing the input name to message[] something like this:
<label for="name">Name</label>
<input type="hidden" name="message[]" value="—Name—">
<input type="text" id="name" name="message[]" value="">
There’s no easy way to get the email address into the email body, but you could use some Javascript to copy the value into a hidden field and pass it through that way.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.