|
are you creating the mail in a loop? i'm just thinking that the $header variable may keep getting appended since you have $headers .= "From... on the first line.
You should probably take out the dot before the equals sign on the FIRST $headers line if you are sending mail in a loop.
Otherwise it seems like it should work if you really have a value in your $name and $from vars.
__________________
Mike
|