Skip to main content

Simple email client

Project description

simplmail

simplmail is a simple raw and stable terminal client. Are you tired of openssl s_client with its long commands and unstable connection? simplmail is the solution for you!

[!WARNING] This program works only for text protocols with CRLF line endings like SMTP, POP3, IMAP, IRC etc.

Installation and Usage

Installation: pip install simplmail

Usage: smail server.example PORT

Also, you can write the smail command without arguments so the program will ask you to choose server and port.

Example of usage:

D:\Maksym\PyPI\simplmail>smail smtp.example.net 465
Simplmail v0.1 (and not only email)
Created connection to smtp.example.net:465.
Initialized SSL.

220 2.0.0 EXAMPLE.NET ESMTP from 93.127.124.34 at Sat, 30 May 2026 15:44:02 +0300 [un.20260530.FuduuvooYT]

SMTP>EHLO localhost
250-hosting.com Hello localhost, [93.127.124.34]
250-8BITMIME
250-CHUNKING
250-PIPELINING
250-HELP
250-ENHANCEDSTATUSCODES
250-XUNMTA 6MKrWSHoNqgL70sILRiEh4-lOADjGxB-FnDhOgvHK9FdI-pRVBxX8bLTTVKZ3Px7Ey1tEXvRofmKiSX5nm7eQT98zSUKWzzzUTnLNvdqLXNkty0wY7CCS0fF:zlo0BKT8cVFlle7J
250-AUTH PLAIN LOGIN
250-SIZE 26214400
250 LIMITS MAILMAX=50 RCPTMAX=100

SMTP>AUTH LOGIN
334 VXNlcm5hbWU6

SMTP>$user@example.net
334 UGFzc3dvcmQ6

SMTP>$pass
235 2.7.0 Authentication succeeded [un.20260530.FuduuvooYT]

SMTP>MAIL FROM:<user@example.net>
250 2.1.0 Transaction is open [un.20260530.FuduuvooYT]

SMTP>RCPT TO:<user@example.com>
250 2.1.5 Recipient accepted [un.20260530.FuduuvooYT]

SMTP>DATA
354 2.0.0 Go ahead

SMTP>From: user@example.net
SMTP>To: user@example.com
SMTP>Subject: example
SMTP>
SMTP>This is an example email
SMTP>.
250 2.0.0 Accepted id=3aLdHe-7ZeP6YPrms [un.20260530.FuduuvooYT]

SMTP>QUIT
221 2.0.0 hosting.com closing connection [un.20260530.FuduuvooYT]

SMTP>smail quit

Specifications

Supported protocols (both encrypted (SSL) and unencrypted (plain text) versions):

  • SMTP
  • POP3
  • IMAP
  • IRC

And any other text protocol that has CRLF line endings!

Features

simplmail includes commands and tools right in the console! (they should be written inside the session and not in the shell):

  • smail autotag y for automatic tags in IMAP
  • smail autopong y for automatic pong in IRC
  • smail starttls for starting TLS (SSL) in unencrypted connection
  • smail quit or smail exit for exit

And if the line starts with the $ sign, simplmail will send text after it in base64 encoding. That is very useful for SMTP AUTH LOGIN!

Also, it auto-detects whether it should use SSL for most protocols!

If you are tired of openssl s_client or you like control and interactivity of ftp and want to do everything that you can like this, install simplmail and try it yourself!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simplmail-0.2.4.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simplmail-0.2.4-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file simplmail-0.2.4.tar.gz.

File metadata

  • Download URL: simplmail-0.2.4.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for simplmail-0.2.4.tar.gz
Algorithm Hash digest
SHA256 0b5ba3742c3ca61aa309c6ac0cb6617aa88d7c59d20887fa16d97a30335f1413
MD5 6e3ae867c86b2dcae000759703ad8738
BLAKE2b-256 d3430c8f3c271823833f85a9ff5e89e097cd523479e19da58f94cf343945da8d

See more details on using hashes here.

File details

Details for the file simplmail-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: simplmail-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for simplmail-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f956f5d6239b4061064dc38fb717c119c29be2a0de8924cb86f4434e103fa00d
MD5 a1c66f97d276e99ff4750661595f1f76
BLAKE2b-256 ebef7e4bdeb8c007a5c6803b8d1ca07a506814e2c70a1154a9067804ee7f3ddc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page