Fair enough, I tried it again the third time round and this time it worked. I made a note of what I did wrong, it was just a coding error on my part. Thanks for your help you guys
Oh by the way, I have another question. I'm puzzled at the moment as to why when I try to send a 'massive email' to all the users, they do not receive it. Neither a test or general email.
I was wondering, is there a way to solve this issue?