in reply to Re^4: How do I get Windmail to send an email attachment
in thread How do I get Windmail to send an email attachment

You could check $?, but without access to windmail logs, you're poking in the dark
  • Comment on Re^5: How do I get Windmail to send an email attachment

Replies are listed 'Best First'.
Re^6: How do I get Windmail to send an email attachment
by kjg (Sexton) on Apr 07, 2008 at 09:41 UTC
    I have now got to the bottom of the problem. The code was OK.
    The issue was that the document that I wanted to attach to the email had to be on the same server as I was running the script on. I can live with that, but it would be more user friendly if it could be on any server! Any suggestions as to how that would be achieved?
    Never knowingly obfuscated

      I already told you. This is a user permissions issue. Likely the user your webserver (and thus your script) runs as has no access to network resources. This is usually a good thing.

      Yes, upload file first to server, then attach