Is there any way to read mail contents using msbuild? Any custom tasks or community tasks available to achieve this?
You can create your own custom task.
See these links for example code:
Read MS Exchange email in C#
C# MAPI to read exchange server inbox
Read Gmail Inbox
Related
I do not think there is an EASY, right click -> export to PST for a mailbox, if you know of one, please let me know.
Since I can't find an easy way, I am going to attempt the code route.
I am looking to write some code to export an O365 mailbox to a .pst file. This is a local backup for when we want to keep the contents of an O365 mailbox after removing licenses.
After removing the O365 Licenses, the mailbox will stay for 30 days and then it is deleted.
I saw a post with a description about using Redemption which I have licensed, but there really is no detail on the process.
Microsoft Graph API to extract a .pst
I have access to the mailbox via EWS and would like to iterate through folders and then mail items in each folder.
Has anyone done anything with copying an O365 Mailbox offline to a .pst file?
You can use the compliance centre to do the export eg https://lazyadmin.nl/office-365/export-office-365-mailbox-to-pst
Another easy solution is to just use the windows Desktop version of Outlook, eg create a profile against the Mailbox, do the export and manually verify it does require a person to do that (assign it to helpdesk etc)
There are lot of third party offering as Andrew mentioned just google them and check the reviews.
If you already have an Outlook profile that connects to the Exchange mailbox in question, you can simply drag/drop folders/messages from the Exchange mailbox to a PST file.
You can also use Outlook Object Model or Redemption to copy the messages programmatically.
Does anyone know how to programmatically send an outlook task update in either C# or VB? I can't seem to find any information online about this. Thanks.
You can use VSTO's Outlook Interop libraries to interact with Task Items. I have used this library to work with MailItems and am aware of the possibility to interact with other Outlook items like Tasks, Calendar items and journal items.
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.
I have mail box in Google Apps. I am trying to read the new mail's subject from and Toaddress everything and to download the attachments from the gmail account in vb.net. I tried using https://mail.google.com/mail/feed/atom but i cannot read all the mails as well as the attachments.
Can we use the python imaplib dll in vb.net
This is an article where you can find a lot of usefull information how to send and read email using pop3email client within attachment and without, including gmail. I hope example in c# wouldn't be great obstacle for you.
Can I read the mail and download the attachments using that imaplibrary in VB.Net
I would suggest using something with proper queuing and logging if you intend this for a business app.
here is an existing question along these lines, with good responses.
https://stackoverflow.com/questions/1544895/imap-library-for-net