1

I would like to get a file attached to an email I receive using Outlook.

I need to run this python script in a Linux Box.

I read about the win32com.client library.

Do you know if it works also for Linux?

If not do you know any alternative if there are?

user229044
  • 232,980
  • 40
  • 330
  • 338
Abruzzo Forte e Gentile
  • 14,423
  • 28
  • 99
  • 173
  • Need some clarification. Are you trying to grab the email from Outlook, or the server it's pulling from? The latter is trivial with the right libraries, either Python IMAPLIB or POPLIB. – Xorlev Feb 09 '10 at 17:14

1 Answers1

3

Coincidentally, today I posted an example of retrieving attachments over IMAP here, it may be of some use to you.

Outlook is an email client, it may use one or more of a variety of protocols (MAPI,POP,IMAP) to access your mailbox. Your mail may be stored on the server, or it may be stored on your computer (more likely when using POP).

Community
  • 1
  • 1
MattH
  • 37,273
  • 11
  • 82
  • 84