emailbox/README.md

1.1 KiB

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