... FUNCTION ENVMAIL(aTo,cSubject,cMsg,aFiles) PS : You have to reset the working directory after sending the mail, otherwise you will get surprise ! lChDir( cFilePath( GetModuleFileName( GetInstance() ) ) ) For second question Go to outlook express, Tools, Options,security on YOUR pc HTH Richard