Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
fxboxPublic archive

About

INACTIVE - Simple server that allow clients to send user management related emails

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

users-email-server

Simple server that allow clients to send user management related emails.

Only one endpoint is available so far:

POST /v1/invitation HTTP/1.1
Content-Type: application/json
{
  "email": "user@domain.org",
  "url": "https://local.<hash>.knilxof.org/whatever"
}

This endpoint allows the client to send a invitation to a user to allow her to activate her account. The body of the request must contain the email of the invitation recipient and a URL from a domain that must be known to the server (i.e. https://.knilxof.org/) and that will be added to the email body.

In the future, we may want to add new endpoints for extra functionality such as password reset emails, for instance.

Usage

cargo run -- --email-server smtp.gmail.com --email-user username@gmail.com --email-password apassword --email-from Manolo -u "https.*\b(local.*.knilxof.org.*)|https.*\b(remote.*.knilxof.org.*)"

Note: If you want to use Gmail, you'll need to allow less secure apps to access your account

About

INACTIVE - Simple server that allow clients to send user management related emails

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages