How do I get this value into the dynamic field in the email header pleaseMany thanks in advanceE"> dynamic from field in email - Forums

Forums

dynamic from field in email

maxelcat 03 Mar, 2009
Hi

Great component!

I have a form which collecsts "firstname" and "lastname" and I would like to combine these so that the email uses a dynamic from field which is "fullname"

Normally I would do this with a little bit of php put after the form was submitted, and before the email.

If I put some code into the "on submit code - beofre sending email" section - like this:

<?php $fullname=$_POST['firstname'].' '.$_POST['lastname'];

?>

How do I get this value into the dynamic field in the email header please

Many thanks in advance

E
GreyHead 03 Mar, 2009
Hi maxelcat,

Welcome!

Please see this post which should answer your question.

Bob
maxelcat 03 Mar, 2009
many thanks - working now after using that helpful post

E
This topic is locked and no more replies can be posted.