I am updating my code since migrating to a Windows Server 2003 platform. I'm at the point now where I am able to send email and attach files.
However, attaching files isn't compulsory so the app trips up when no file is attached using this code:
Where ThisFile was dim'd earlier (if there is a file attached, it works perfectly).
So I tried this:
If Not ThisFile Is Nothing Then
Which gives this error:
Microsoft VBScript runtime error '800a01a8'
/enroute/test/docnum/request_act.asp, line 123
Where am I going wrong?