Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6084771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:33:42+00:00 2026-05-23T11:33:42+00:00

We are currently implementing private messaging in our asp.net mvc app and we have

  • 0

We are currently implementing private messaging in our asp.net mvc app and we have come to the conclusion that we would like to make it work like github does… meaning we would like the user to receive the message both through our site and to his email inbox(this is somewhat easy to achieve with mvcmailer nuget).. but we would also like the option to have the user reply to the email (through his email client) and have that email be sent to our app (if you have used guthubs private messaging you should know what I mean)….. what is a common approach to implementing this feature?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:33:42+00:00Added an answer on May 23, 2026 at 11:33 am

    See my comment regarding how to read emails from a mailbox.

    I would use a message bus so that you are not limited to just internal and email notifications, for example you may wish to add SMS notifications in the future.

    You may want to check out MassTransit or NServiceBus although for something like this it may be easier to just create your own.

    public class Message {
        public string Title {get;set;}
        public string Body {get;set;}
    }
    
    public interface IMessageBus {
        void Send(Message message);
    }
    
    public interface IMessageHandler {
        void Handle(Message message);
    }
    
    public class InternalMessageHander : IMessageHandler {
        public void Handle(Message message) {
            // send internal message
        }
    }
    
    public class EmailMessageHandler : IMessageHandler {
        public void Handle(Message message) {
            // send email
        }
    }
    

    Your IMessageBus implementation would need to locate all the handlers (I would use an IoC container for this).

    If you need to process large volumes of messages then I would recommend handing these off to a queue and processing these asynchronously (both MassTransit and NServiceBus support message queues but you could just as easily use a simple database table).

    As far as reading emails, I would have background task that connects to the mailbox, downloads emails, parses them and updates your content.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently writing an ASP.Net app from the UI down. I'm implementing an MVP
I'm currently implementing a client application that POST's a file over HTTP and have
I'm currently transforming my Web Application tn Java with Spring MVC framework from ASP.NET
I'm currently implementing a JavaScript library that keeps track of the history of changes
I'm currently implementing a .NET wrapper for a Java library by using JNI to
I'm currently implementing a HTML canvas based webapp that features panning. Is there a
I have a client that I'm wanting to move to a virtual private server.
I am currently implementing a simulation in Java that requires an input of about
I'm implementing a manager in my web app that can be called to set
I am implementing a simple license-file system, and would like to know if there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.