Sharing violation means that the file is open in exclusive mode by another process, possibly a backup program. It is not a permission problem.

The SMTPW errors are almost always sharing violations. When using fopen, this is the error you get for a sharing violation, or when the permissions are set wrong.

  Eric