Originally Posted by cPanelDavidG Are you also changing the username for user= to reflect the cPanel user for that domain as well in your loop? No, when I tried that it returned some HTML which looked like a login page. So I changed to using the reseller username. I'll try it again and see what happens.
That's got it. Thanks for your help David.