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.1.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.1-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simplmail-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 c6bbc155f5c699bc3296f241550d638905aa16db7c4f839621c925b40b69ad5c
MD5 38d69472123624645711d9325e242b45
BLAKE2b-256 8f3c04c2f04b4d9d879f9253946762246b5ca40a495276ca3e3e2229beac7d1e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simplmail-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9d67ac8044796ba178a332a305935b3a5f93ccc7c7330b006a7bd3bf92d423c5
MD5 7717297c3712dd242a4a1216f1b24afb
BLAKE2b-256 2d915f2e8805adc9eb83a77a5698500913975d7cd1911f3af8e4dc691ddbe5ea

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