Check the python libs in the 2.1 tree. This has been well solved already
for all supported drivers. There a cursor is setup for whatever driver
is set in dbmail.conf.
Dave Logan wrote:
> Eugene,
> I changed:
>
> < print "From %s %s" % (parser.parsestr(messageblk).get("From"),
> internal_date.strftime())
>
>> print "From %s %s" % (parser.parsestr(messageblk).get("From"),
> internal_date.strftime("%A %B %d %H:%M:%S %Y %Z"))
>
>> I can't test my utility with mysql because I haven't it. Can you add
>> command line switch to database type? Or just send you changes to me?
>
>
> I'll give that a quick try, the only real change is the
> include and connect parameters.
>
--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl