Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Suggestion Needed: Syncing Mailbox through API

$
0
0

Hello, 

I am creating an app that sends and receives emails through different hosting providers IMAP + Office + Gmail. Now the problem that I am facing is that a user can send an email at any point of time irrespective of the background job is syncing after a specific interval. So for example

The user send's an email 3:12 PM and meanwhile, the job is scheduled for 3:14 PM. Now as of the UX experience I have to show the user immediately that email is sent and should be displayed in the respective folders in our application. 

Now, what should I do should the sent email be inserted in the database immediately and then later on when job runs we check if this email is already in the system.

Regards


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>