Emailsrvr help
emailsrvr
is a command-line email server that allows you to send and receive emails from the command line. Here are some common commands and options:
Starting the email server
emailsrvr
: Start the email server in the background.emailsrvr -f
: Start the email server in the foreground.
Sending emails
emailsrvr send <recipient> <subject> <message>
: Send an email to the specified recipient with the given subject and message.emailsrvr send -t <recipient> -s <subject> -m <message>
: Same as above, but with the-t
,-s
, and-m
options.
Receiving emails
emailsrvr receive
: Receive emails from the server and display them in the terminal.emailsrvr receive -d <directory>
: Receive emails and save them to the specified directory.
Managing emails
emailsrvr list
: List all emails in the inbox.emailsrvr delete <email_id>
: Delete an email by its ID.emailsrvr read <email_id>
: Read an email by its ID.
Options
-p <port>
: Specify the port number to use for the email server (default is 1025).-a <address>
: Specify the address to use for the email server (default islocalhost
).-u <username>
: Specify the username to use for authentication (default isnone
).-p <password>
: Specify the password to use for authentication (default isnone
).
Troubleshooting
emailsrvr -h
: Display help and usage information.emailsrvr -v
: Display verbose output for debugging purposes.
Note: The exact commands and options may vary depending on the version of emailsrvr
you are using.