i know this has been asked many times on here but I cant find a solution, im getting I know the user exists in the database as its the same username for IMAP/POP which is working OK. The query its executing is which works OK