I build up a string using .= and mail the whole string at the end of the script..

Now im trying to do the exact same thing with another script but is not working at all :( i dont know what the problem is.. I want to run the script and mail the $body variable at the end of the script.. Please have a look and see if you can tell me the problem

Concatenation should be done with a . (period/full stop). I think only echo allows you to use commas to put multiple strings together. You should be getting a syntax error on your $body when you use the commas. I suggest you turn on full error reporting.