Originally posted by laserlight
That is what dalecosp meant by "double quote text strings in HTML".
Exactly.
Nana, you must remember that when using $sender_name, or any other string variable in HTML, it should be quoted.
Just because the name of the variable doesn't have spaces ($sender_name), it doesn't follow that the content of the variable has none.
Weedpacket's Debugging 101 post shows you an example of what was probably happening in your HTML source code.
If you'll use laserlight's code, this problem should disappear.
BTW, welcome to PHPBuilder!