Go to file
Mike Nolan 7deb50fe7e Initial commit 2023-12-27 11:11:12 -06:00
data Initial commit 2023-12-27 11:00:06 -06:00
.gitignore Initial commit 2023-12-27 11:10:18 -06:00
.gitlab-ci.yml Initial commit 2023-12-27 11:11:12 -06:00
LICENSE.md Initial commit 2023-12-27 11:00:06 -06:00
Program.cs Initial commit 2023-12-27 11:00:06 -06:00
README.md Initial commit 2023-12-27 11:05:40 -06:00
emailbox.csproj Initial commit 2023-12-27 11:00:06 -06:00

README.md

Emailbox

An really simple mailing list app

Configuration

in data/config.json

{
    "Email":{
		"Host": "YourEmailHostname",
		"User": "theusernamewithoutdomain",
		"Pass": "thepassword",
		"Port": 587,
		"Encryption": "StartTls",
		"Email": "theemailaddress"
	},
    "Name": "The name of mailing list",
    "Port": 51777,
    "Website": "https://example.com/",
    "ActualEmailSubject": "The subject for mailing list email"
}

Runtime

You will need dotnet (if using dotnet 8, you must edit csproj TargetFramework to be net8.0) here

To Send out emails

Without custom data path

$ dotnet run send

With custom data path

$ dotnet run send "PATHTODATAPATH"

To Serve

Without custom data path

$ dotnet run serve

With custom data path

$ dotnet run serve "PATHTODATAPATH"

Uses