$ 0 0 Thanks Eitan,I was using 'BIN' in the ADD_ATTACHMENT method.I've changed it to PDF but still have the same problem.