Looks like the mail server requires authentication but you didn't supply the user name and password. Can you post your code here?
There is an useful example here: Send e-mail in HTML format using...