Apologies, I've worked out how to use the mail function but still have the hotplug problem. I'm aware that I probably have to change permissions, but don't know the correct code. Cheers, Adam.