2

I am using a Microsoft office email for my business support tickets, I wanted store all my inbox emails in my database so that i can populate on my 'support dashboard' and manage the support system properly for my business model. Can anyone help me, how can i store the inbox emails with out installing the outlook in local machine. storing the emails in server level.

thanks in advance,

Srikanth
  • 137
  • 12

1 Answers1

0

I'm assumed you are working on C# and SQLServer database. As I understand, you can use EWS or Microsoft Graph API to achieve your needs. Also, I think that there are two ways to achieve it. Just for your reference.

  1. Get and parse the message content through EWS or the Graph API, and then insert the Database. (It should be a very simple code.)
  2. Fetching all mails in Inbox from Exchange Web Services Managed API and storing them as a .eml files. Then save the .eml files into Database using file streams.

Note: I think you should create a backend service project to store emails to the database on a regular basis.

Reference links:

Reading Email from Exchange Server and Save It on SQL Database

Storing them as a .eml files

Simon Li
  • 303
  • 2
  • 4