[Zope] Re: can we give path of the file to be sent as an attachment
Dieter Maurer
dieter@handshake.de
Thu, 9 Nov 2000 21:16:20 +0100 (CET)
jacintha menezes writes:
> Hi,
> Thanks for your mail. I have seen the tags of sendmail & mime.Kindly let
> me know whether we can send a file stored in the hard disk as an attachment
> by giving it's path.
No, you can't....
.... unless, you made it accessable from inside Zope.
You have various options:
* the excellent "LocalFS" product
* the "ExternalFile" product (which probably is excellent, too,
but I do not know it personally)
* an external method returning the content of a file
giving its filename (search the list archive to find
one - with the associated *security* warning!)
Dieter