Forums

"e-mail to" variable for differinge-mail recipients

kazpad 25 Nov, 2010
Hello all,

I would like to send e-mails to various recipients depending on some input field in the form. I therefore need to some PHP evaluation of the form input. The input variable I assume I receive through $var = JRequest::getVar('var', '', 'post').

But when I do the evaluation what is the variable for the recipient of the e-mail and how to I set it? Can that be done in PHP?

Thanks in advance for any help

kazpad
GreyHead 25 Nov, 2010
Hi kazpad,

FAQ #31 has the basic code that you need.

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