OK ... this is really weird.
I went back to my original code for SMTP. I got it working, then lost it again. Here is the situation:
1) I have two files, one the error.log file which is naturally stored in the directory where the client executable exists ( ie. under program files ) and the other is a PDF of a screen preview which is also stored in that directory when it is created.
2) IF I am accessing the data file in a directory on the same computer, the SMTP works absolutely perfectly ... sends both attachments out.
3) If I am accessing the data file across the network from an ADS installation, the attachments are created correctly as specified in #1 on the local computer, but the attachments are not included with the email. Instead, a file of 80 to 100 bytes is created, empty, and attached with the correct file name !
Now that is really strange.
The OS is Vista ...