mirror of
https://github.com/ShadowKatStudios/OC-Minitel.git
synced 2024-12-27 18:58:07 +11:00
867 B
867 B
MMail - simple mail protocol
MMail, or Minitel Mail, is a simple electronic mail protocol for Minitel networks, using port 25.
Messages
A message must contain:
- A line with
From:
and an address, specifying where this mail came from, in the form ofuser@host
- A line with
To:
and an address, specifying to whom this mail is addressed to, in the form ofuser@host
- A line with
Subject:
and a subject line, specifying the subject of the message.
The entire exchange will be written to the file, but those lines are required.
Sending
Sending a MMail message is simple:
- The client opens a connection to the server on the MMail port.
- The client sends the header, with To, From and Subject lines.
- The client sends the message contents.
- The client closes the connection.
The server can then decide what to do with the message.