Forum Discussion
In Microsoft Fabric in NoteBook using Python there is no Pywin32
Hi,
In Microsoft Fabric in NoteBook using Python there is no Pywin32.
The task is to read and write the Excel file and send it as an attachment to Outlook.
can any one help
Thanks
Hello Anusha__v
I have answered this question here
Please see if this helpful and accept the answer.
Thanks
Hi nilendraFabric ,
thanks for your help.
can you please provide more details on "send_mail" in your code if I need to send specific mail?
Thanks
5 Replies
- nilendraFabricSuper User
Hello Anusha__v
I have answered this question here
Please see if this helpful and accept the answer.
Thanks
- Anusha__vHelper II
Hi nilendraFabric ,
thanks for your help.
can you please provide more details on "send_mail" in your code if I need to send specific mail?
Thanks- v-hashadapuCommunity Support
Hi Anusha__v , thank you for reaching out to the Microsoft Fabric Community Forum.
Based on the information available I concluded that send_email is calling the function which might be defined elsewhere and is passing in the required parameters which attaches excel file.
Please refer to these documents: Automate creating, sending, and processing messages using the Outlook mail API - Microsoft Graph | Microsoft LearnGet Started with the Outlook REST APIs - Outlook Developer | Microsoft Learn
which will help you in writing the logic for send_email function.
- GilbertQSuper User
Hi Anusha__v
Just also to add another comment is that in the notebooks you can install any python module using the pip installer.
Here is a way to complete it: Installing and Managing Python Packages in Microsoft Fabric
- v-hashadapuCommunity Support
Hi Anusha__v , Thank you for reaching out to the Microsoft Community Forum.
Please let us know if your issue is solved. If it is, consider sharing the insights or marking the answers that helped 'Accept as Solution', so others with similar queries can find them easily. If not, please share the details.
Thank you.