Outlook COM: how to create a MailItem from a .msg file
Tim Williams (gmail)
tdwdotnet at gmail.com
Tue Jul 5 21:56:38 CEST 2005
On 7/5/05, Guy Lateur <guy.lateur at b-b.be> wrote:
> > I just tried this and it failed with IP addresses but not
> > hostnames/machine names, try it again with the server name. :)
> Nope, same problem. I think TJG might be right, and our server probably
> doesn't have IMAP running (yet).
Could you SMTP it back in ? It would gain an extra Received: header
but the rest of the email would most likely be unaltered.
> > Depends how secure you need it to be. For my simple stuff I just do
> > something like this
> > [snip]
> That's a nice thought, although the pw is still pretty visible. Maybe
> there's a way to encode/decode it using some sort of key (that only I know),
> that produces a truly unrecognisable pw?
Not my area of expertise I'm afraid. If you manually run the script
then you could use getpass() to prompt you for the password at run
More information about the Python-list