Would it be possible to use this API to grab specific text out of Teams conversations when someone messages you, and to automatically send that to an Excel file?
More specifically, if someone sends a message with a certain keyword such as "JJJ" in the message, it will copy the entire message to an Excel file on a shared drive.
Would this API work in an Enterprise environment?
Oh and I'm somewhat new to Python so no offense taken if this is a stupid question :)
Related
I understand that similar questions have been asked before on Stack Overflow and all over the internet, but my situation is a bit unique. Let me give some context:
I want to make a macro/program that automatically downloads attachments sent from a set of emails (according to date) in a specific folder on the Outlook Web App. The only issue is that this is for my workplace, and the IT department is refusing to give me the password for the outlook account which makes it difficult to sync up the Web App to the on desktop application (I am a pharmacy student who works at a Chemist Warehouse and I'm just doing this as a local pet-project because lockdown is making me bored, it would not be used for all stores).
I have come up with an idea for the solution, essentially I want to use the urlmon ability of VB.Net to download the attachment as a file from the web. I was thinking if I could put a Web Browser control on the form, make it invisible and when the program loads up it automatically goes to the store email (I can get the url), to the appropriate folder. I then want to be able to read the HTML content perhaps? and then download any and all attachments in all emails received today for example in that folder.
I understand this is a unique and weird situation, so any help is much appreciated. If there are any further questions please feel free to ask and I will answer to the best of my ability.
Thanks in advance :)
This issue has been solved now. I used the Selenium Web Driver, integrated it to VB.NET and then used it to scrape the email. Feel free to comment if you wanna know how I did it. I'm gonna close this question thread now :)
I am attempting to create an add-in for outlook for where i work. The department in question use an in house built database application with a microsoft access front end built in vba.
Currently the team copy and paste information into the system. I have been tasked with creating an addin that will copy the necessary information such as
email address the email was sent from
Date & Time it was sent
message body
I have created the ribbon and have a button in place that currently displays "hello World".
Could anyone tell me how to get VB to read the information from the message? I have done some research on the internet but cannot find much information on this particular topic.
I would suggest you start here. This talks about how to do a lot of things with outlook using interop, which is the way you will need to work with it from a .Net addin.
How Do I... Outlook PIA Reference
I am working on a study that sends people a PDF document with information about their health. The team would like to know if the person has actually opened the PDF document (a sign that they didn't just ignore the e-mail). I know that it'd be possible to do it with a link to an external file, but the users are much less likely to click on a URL and download it then they are to just view an attachment, and we don't want to do anything that might prevent the users from reading the information (we've already had people say they never received the message, and with further investigation they discovered they had, they had just ignored it).
Another option is to request a read report, but this is only useful if it doesn't annoy the user (ie it does it automatically when the email is opened instead of requesting them to send one). We're currently looking into this as well, but the ability to check if the attachment has been opened is a much better idea.
The email is generated in MS SQL and sent using the database mail system, and we have adobe acrobat pro, so creating scripts in pdfs is possible (although I'm not sure whether those scripts will be allowed to run).
Thanks
1) Dont include the PDF in the email, include a link to the PDF.
or
2) Include a javascript snippet in the PDF, which hits a per-user URL or includes IP address or something to track. This will only work if the user allows javascript, and if their pdf reader supports it.
See
http://ask.metafilter.com/153206/Is-it-possible-to-track-where-a-PDF-file-goes-once-in-the-wild
Since this was originally posted there has been a number of consumer tools that now let you track PDF's sent via a web link.
http://docsend.com , http://attach.io
and if you're sharing from Dropbox
http://orangedox.com
Much easier than having to script it yourself
At this time there are a number of tools available who offer attachment tracking service to their users. I am also using SalesHandy for attachment tracking and get the deep analysis of when & where your attachment is open.
Click to read more: https://www.saleshandy.com/document-tracking/
I have an Idea of integrating our own company Tool with MS outlook,
Our company tool is Incident or Service Request tool .We communicate with User using the Service Number generated in THe tool(This servce Number is generated when A Client Logs the Problem in our tool) with MS outlook,
However I just know JAVA and not C#(So I am Comfortable in JAVA programming).
Is there any way That I can write code which can search the Outlook Files in my inbox, Based on some search Criteria, and display it back .
Any help is appreciated :)
Thaks rajesh
The Following might help: https://stackoverflow.com/a/5285691/119179
Shows how to read an inbox with the java mail API which is independent of Outlook.
We receive vendor confirmation of file feeds that we send out. Some of our vendors will only send the confirmation through email. I am trying to find some sample VB code that I can use to try and use, that I can schedule to go out and query an inbox and see if there is an email from a certain account and I then return the message body. A lot of the articles that I have found discuss using Web DAV, but I am unfamiliar with it as well as trying to query Exchange Server. I have found documentation for the apis for the new versions of Exchange Server, but I am having a hard time finding it for Exchange 2003.
What ultimately helped me answer my question was this book "CDO & MAPI Programming". You can download the sample code from Here. Chapters 6 and 7 from the book are were really helpful in figuring this out.