1. 40
    1. 7

      Good overview and I know it’s being mentioned but just like IRC, the plaintext port 25 telnet version isn’t as easy to get going these days, with a lot of servers having mandatory SSL or STARTTLS. I have used socat for that though…

      1. 11

        The openssl command-line tool can give you the same interface and supports both STARTTLS and plain SSL encapsulation. If you do openssl s_client -starttls smtp -connect {server name}:smtp then you can type SMTP commands just as you can via telnet.

      2. 4

        For SSL you can use OpenSSL quite easily.

    2. 6
      HELO blog.bityard.net
      MAIL FROM:<[email protected]>
      RCPT TO:<[email protected]>
      DATA
      From: [email protected]
      To: [email protected]
      Subject: Originally, I didn't like having a beard.
      

      I hate it when websites do that. Yes I have Javascript disabled, why do you ask?

      1. 6

        Interesting! I had no idea that would happen. The site itself doesn’t use any Javascript but it is hosted on Cloudflare Pages which apparently injects its own Javascript to obfuscate email addresses.

        I don’t know if it will work any better for you, but you can also try reading the article directly on GitHub: https://github.com/cu/blog/blob/master/content/testing-smtp.md

        1. 5

          You can disable that in cloudflare

    3. 6

      +1 for SWAKS

    4. 1

      I thought this was going to talk about the different ways to send HTML or plaintext emails.

    5. 1

      Nice overview! I think it’s visible to receivers if you send from your own smtp server (say your laptop) instead of directly submitting via the target-origin (if that makes sense)

      One nit, the bash example could use printf to be less magical.