Skip to content

A basic http server to serve http request and, A simple SMTP server to receive email

License

Notifications You must be signed in to change notification settings

dotnetcore5/Local.Http.Smtp.Server

Repository files navigation

Local Http & Smtp Server GitHub release Maintenance

A basic http server to serve http request and, A simple SMTP server to receive email

Repository codebase

The repository consists of projects as below:

# Project Name Project detail location Environment
1 Local.Http.Smtp.Server Dotnet5 console app Local.Http.Smtp.Server folder .Net Framework
2 Email.Test.App Azure function to send email Email.Test.App folder .Net Framework

Summary

The overall objective of the applications :


>   A user can browse to "http://localhost:5000/". 
>   The page is served through the **http server**. 
>   The console application logs the browsing.
>   User can send email and see the logs within the console.

Setup detail

Download/install

  1. .Net Framework to run webapi project

  2. VS2019 to run/debug the applications Or VSCode to run/debug the applications

Project Setup detail
  1. Please clone or download the repository from github

  2. Create a folder and place the downloaded repository and unzip if downloaded.

  3. Open the solution file through Visual Studio2019 where the repository is downloaded

(a) To start the webapi
  1. Through Visual Studio2019, click F5 button to run the http server & smtp server, Please make sure to select as multiple-startup-project.


  1. http server shall start running on port 5000

  2. smtp server shall start running on port 25



  1. open a browser with url as http://localhost:5000


  1. The http request/response is logged on the console.
  2. Then email received is logged on the console


For better experience please use chrome browser

Visitor Badge GitHub contributors license