I use the tSMTP class modified by Louis Krause through June 2005. I also use the corresponding tSocket class.
I use it to send emails with 1) and error.log ( text ) file, or 2) a generated PDF. In both cases, the program passes the path and file name in the array ( aSendFiles ), and the email is sent from this computer and received at the other mail server.
The program works fine with Windows XP.
However, with Windows Vista, in both cases, the attachments contain no data. A clean PDF or .log file on this computer arrives as a 85 to 92 byte file when received by the addressee.
Has anyone dealt with a similar issue and found a solution ? When building the email, I identify the correct file to attach ( displayed via an alert ) and the SMTP file indicates no problems in the log.
I'm using the latest xHarbour beta and FWH 7.07, on Vista Ultimate.
I did try substituting the actual file transfer code from the 7.07 FWH tSMTP class ( slightly different layout ) but there is no difference in the result.
Tim