Emailsrvr

emailsrvr is a command-line email server that allows you to send and receive emails from the command line. It's a simple and lightweight email server that can be used for testing, development, or even as a replacement for a full-fledged email server.

Here are some basic commands to get you started with emailsrvr:

Starting the email server

To start the email server, simply run the following command:

emailsrvr

This will start the email server on port 8025 by default.

Sending an email

To send an email using emailsrvr, use the following command:

emailsrvr send <[email protected]> <subject> <message>

Replace <[email protected]> with the recipient's email address, <subject> with the subject of the email, and <message> with the body of the email.

For example:

emailsrvr send [email protected] "Hello World" "This is a test email"

Receiving an email

To receive an email using emailsrvr, use the following command:

emailsrvr receive

This will display any new emails in your inbox.

Listing emails

To list all emails in your inbox, use the following command:

emailsrvr list

This will display a list of all emails in your inbox, along with their subject and sender.

Deleting an email

To delete an email using emailsrvr, use the following command:

emailsrvr delete <email_id>

Replace <email_id> with the ID of the email you want to delete.

For example:

emailsrvr delete 123456

Stopping the email server

To stop the email server, use the following command:

emailsrvr stop

This will stop the email server and close the connection.

That's it! emailsrvr is a simple and easy-to-use email server that can be used for testing and development purposes.