I am trying to use `pywin` in a `jython` application for sending emails w/ attachments with outlook.

Pywin needs a win32 enviroment, but since we are in java and the function sys.platform returns "java1.6", everything does not work properly.

Should I use `JMapi` instead of `pywin`? If the answer is positive, where could I find some examples? Thank you.

sorry for the edit:
We are using `python 2.5`, `Java 1.6`, and the O/S is `Windows XP SP 3`.

Ooops, i am a moron . I cannot use smtplib, because the users want to look the emails in outlook before sending them.