The error is within the mail() function. I just posted the code so
people could see how the email where retrieved - from an SQL -query,
and how I send it. There is no error in my code. I want to know wheter
there is an workaround for email adresses containing the hyphen "-".