import win32com.client as client
outlook=client.Dispatch("Outlook.Application")
message=outlook.Createitem(0)
namespace=outlook.GetNameSpace('MAPI')
inbox=namespace.GetDefaultFolder(6)
message=inbox.items.add
message.To="allsourav@gmail.com;allsourav2@gmail.com"
message.CC="souravandamiya@gmail.com"
message.BCC="allsourav2@gmail.com"
message.Subject="Happy Birthday"
message.Body="Wish you a happy birthday ,learning outlook using python again"
message.Importance=2
message.ReadReceiptRequested=True
message.OriginatorDeliveryReportRequested=True
message.Save()
message.Display()
#message.Send()
Showing posts with label read receipt and delivery receipt statuses in outlook mail using python. Show all posts
Showing posts with label read receipt and delivery receipt statuses in outlook mail using python. Show all posts
Monday, September 13, 2021
Set Importance ,read receipt and delivery receipt statuses in outlook mail using python
Subscribe to:
Posts (Atom)