Latest Questions tagged Outlook

Browse all latest questions tagged Outlook

Published 30 Oct, 2022
Java - Generate a excel using java and create a macro in the excel

I have a java code that takes data from MongoDB and later creates an excel(.xls) containing this data using Apache POI but in a formatted manner. My final requirement is to mail the last worksheet i...

Published 18 Aug, 2022
Python - Python win32com : Reading multiple Outlook inbox

I want to get the SenderEmailAddress of all email sent on two specified mail addresses : [email protected] and [email protected] that are in my Outlook Application on my computer, the point is to make a list of a...

Published 17 Aug, 2022
Python - python win32com outlook 2013 SendUsingAccount return exception

While working on a simple mail automation with python and win32com api, I had an issue with SendUsingAccount. It was ignored or, worse, generating an error when I upgraded from windows 7 to windows 10...

Published 15 Jun, 2022
Python - How to pass a parameter in an Outlook rule to run a Python script?

I created a script that shuts down my computer. I have a working rule in Microsoft Outlook that executes my Python script when I receive an email that has %BLAHBLAHBLAH% in the subject. Is...

Published 26 Apr, 2022
Python - Send Outlook Email Via Python?

I am using Outlook 2003. What is the best way to send email (through Outlook 2003) using Python?

Published 26 Apr, 2022
Python - Parsing outlook .msg files with python

Looked around and couldn't find a satisfactory answer. Does anyone know how to parse .msg files from outlook with Python? I've tried using mimetools and email.parser with no luck. Help would be great...

Published 24 Apr, 2022
Python - Reading e-mails from Outlook with Python through MAPI

I'm trying to write a short program that will read in the contents of e-mails within a folder on my exchange/Outlook profile so I can manipulate the data. However I'm having a problem finding much inf...

Published 26 Aug, 2022
Python - Choosing "From" field using python win32com outlook

I am trying to automate emails using python. Unfortunately, the network administrators at my work have blocked SMTP relay, so I cannot use that approach to send the emails (they are addressed external...

Published 25 Aug, 2022
Python - win32com.client.Dispatch works but not win32com.client.gencache.EnsureDispatch

i'm learning win32com for python and I've got a strange problem. I'e trying to export Outlook Contacts in a List of Dictionnary. My code works perfectly with win32com.client.Dispatch("Outlook.Applica...

Published 21 Aug, 2022
Python - How can I search the Outlook (2010) Global Address List for a name?

I have a list of names, some of them complete, some truncated. I would like to search the Outlook address list for matches for these names. The closest I have come is this Python code which came from...

Published 20 Aug, 2022
Python - programmatically send outlook email from shared mailbox

I'm trying to send an email with python from a shared mailbox. I have been able to sucessfuly send it through my own email, but sending one with a shared mailbox (that I have tested that I have acces...

Published 19 Aug, 2022
Python - Script in python to download email attachments

I have the following script : import imaplib import email import os svdir = 'c:/downloads' mail = imaplib.IMAP4('' 'MailboxId=6ebd46...

Published 26 Apr, 2022
Python - Clearly documented reading of emails functionality with python win32com outlook

I'm trying to understand outlook interaction through win32com better. I've been unable to find clear documentation that allows me to utilise win32com to read emails effectively, from my current inves...

Published 13 Aug, 2022
Python - How to Add File as Attachment to Outlook Item in Python

I have just created a few files and zipped them up, then begun an email to send it. I'ts probably simple, but I haven't been able to figure out how to specify a file by path to attach. Feeding the f...

Published 10 Aug, 2022
Python - How to insert .html file in outlook as text by using python

I want to insert a .html file as text by using python. I am using win32com but problem is that it is attaching the file in attachment i want to insert it in main body. import win32com.client from con...