Hi, i’m sending email out to members of my site but i’d like the ability to add email addresses stored in a variable into the cc field so that when my members get the email they simply press reply and can email back the address i have stored in these variables.
My header variable is at the bottom of the post, i gather i just need to add a CC part and put the address in there but the actual address for the cc is stored in a var so it will need to be
CC: $variable <$variable>
Does this make sense?
[php]
$headers = ‘From: Me.co.uk [email protected]n’;
[/php]
I know i can do this:
[php]
$headers = “From: [email protected]”;[/php]
But how can i get a variable in the CC bit?
Thanks