|
Posted by jcage on 04/29/07 16:32
I've looked at this, experimented and am confused. On form 1, the
pull down box $to variable passes data to form 2 just fine.
On form 1, I'm using joe & bob only and that info does come through
fine. On form two, I tried;
$arrEmailAddresses = array( 'joe'=>'joe@server.com',
'bob'=>'bob@server.com' ):
array_keys($arrEmailAddresses);
and leaving my TO line on the mailer portion alone:
$mail->AddAddress($to);
and get the following error message:
Mailer Error: Language string failed to load: recipients_failedjoe
I sense that I'm missing a big part of the array keys indexing but am
not sure. Somehow, the email address loaded into the array isn't
getting to the mailer portion of $to
On Apr 22, 3:49 am, shimmyshack <matt.fa...@gmail.com> wrote:
> as you do not need to send the email addresses from the browser to the
> server in order for the server to use the value - which sent the
> emails to the browser in the first place - why not have an array in
> your logic, $arrEmailAddresses = array( 'joe'=>'...@server.com',
> 'bob'=>'...@server.com' ); and simply have values joe and bob... in
> your webpage and use the posted value - provided it exists in the
> array obtianed by array_keys($arrEmailAddresses) as the index you then
> uuse to obtain the email.
Navigation:
[Reply to this message]
|