using squirrelmail api for error message