Well, I have done some research, and the whole script works well including if (check=0) conditionals provided the sub routine aspect is removed! I don't know why. Perhaps someone could tell me?
Thanks for the input so far
Comment on Re: Re: Re: Re: emailing with an address taken from a database