how to send a form html by email ?
Gerard Breiner
gerard.breiner at ias.u-psud.fr
Tue Mar 18 04:26:40 EST 2003
"Gerhard Häring" <gerhard.haering at opus-gmbh.net> a écrit dans le message de
news: slrnb7bnf2.1e8.gerhard.haering at haering.opus-gmbh.net...
> Gerard Breiner <gerard.breiner at ias.u-psud.fr> wrote:
> > I try "PythonHandler tmail". the result provide the same error.
>
> Did you delete all email.py[co] in the directory where you have your
mod_python
> handlers?
>
yes.
here the result in my navigator :
-----------------------------------------------------
Mod_python error: "PythonHandler tmail"
Traceback (most recent call last):
File "C:\Python22\Lib\mod_python\apache.py", line 181, in Dispatch
module = import_module(module_name, _req)
File "C:\Python22\Lib\mod_python\apache.py", line 335, in import_module
module = imp.load_module(mname, f, p, d)
File "c:/program files/apache group/apache/htdocs/python\tmail.py", line
10, in ?
# Create a text/plain message
IOError: [Errno 2] No such file or directory: 'c:\tt'
---------------------------------------------------
however, 'c:\tt' exist and i defined as :
f1='c:\tt'
fp = open(f1, 'rb')
I wonder whereis the problem ?
Best regards
gerard
> -- Gerhard
More information about the Python-list
mailing list