Ok that works..
but I dont declare the variable and have it read it from a form but..
It can only execpt one email address at a time..
How can i take email address from each line in the form and use that..
I have been trying to adapt this to do it.. but it isnt working for me ?
$lines = split("\n
You can set a variable in a configuration file containing the email
address as normal
$to = "[EMAIL PROTECTED]";
In the function, use the global statement to bring the variable into the
function's scope.
Function SetTo($to)
{
global $to;
if (strlen($to)<=0)
2 matches
Mail list logo