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

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
  • Comment on Re^6: How do I get Windmail to send an email attachment

Replies are listed 'Best First'.
Re^7: How do I get Windmail to send an email attachment
by Corion (Patriarch) on Apr 07, 2008 at 10:16 UTC

    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.

Re^7: How do I get Windmail to send an email attachment
by Anonymous Monk on Apr 07, 2008 at 10:08 UTC
    Yes, upload file first to server, then attach