thanks for the quick response, as usual
i must be missing something
i have no troubles sending mail(with the mail function), and no trouble with the variable.
However, i only want to send one email the first time the variable appears...the variable will always be there after it appears once, but i don't want to send an email every time...
I didn't see this in mail()...
apologies if i am missing something