Click here to Skip to main content
15,889,992 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I need a suggestion,
1. I create a ticket view with MVC5 framework
2. Now I want to create an email service for the user to notify the developer as well as the user who created a ticket.

My questions:
1. How to good design email service.
2. Can you give me a suggestion for doing good design, process?
a. Which protocol is useful to email service?
b. How to increase security and I am using HMAC256?
3. How to design Auto email notification?

Language-server-side: C#
Language-client-side: Angularjs(1.7.x)
Framework: Asp.Net MVC5

What I have tried:

Link 1
Link 2

Any help is appreciated.
Posted
Updated 24-Aug-19 8:04am
v2

1 solution

Quote:
How to good design email service.
With little-to-no understanding of how email systems work, I recommend purchasing a subscription. No hard feelings, please, but I personally use a hosted solution, such as SendGrid.
Quote:
Can you give me a suggestion for doing good design, process?
With email systems, it is basically sending the messages. There is no object-oriented or service-oriented way of doing this. You can however, always read more on the products such as Microsoft Exchange and see how they did the basics on this.

Exchange 2010 White Papers – 250 Hello[^]

Quote:
Which protocol is useful to email service?
This question is the base for my answer, oh, and it is SMTP.

Read more on this topic here,
Simple Mail Transfer Protocol - Wikipedia[^]

Here are a couple of my articles/code samples to help you get started with the basics of email sending in .NET environment,
Sending emails over .NET framework, and general problems – using C# code[^]
Universal SMTP Code to Send Emails in .NET Apps[^] (you will find the source code with this too)
Quote:
How to increase security and I am using HMAC256?
There are several ways to handle this, and it depends entirely on how your users consume your services—Web API vs web application. You can check how API based authentication works, and how a web application authenticates the users, mostly using cookies.
Quote:
How to design Auto email notification?
Triggers, schedulers, services, CRON, etc. etc. etc.

cron - Wikipedia[^]

I will say this again, just buy a subscription and you will be good to go. Most service providers come with 5-10k free emails per month and 1-3 free mailing groups to handle, so you will be in good hands.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900