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…
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.
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?
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.
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.
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…
The
openssl
command-line tool can give you the same interface and supports both STARTTLS and plain SSL encapsulation. If you doopenssl s_client -starttls smtp -connect {server name}:smtp
then you can type SMTP commands just as you can via telnet.For SSL you can use OpenSSL quite easily.
I hate it when websites do that. Yes I have Javascript disabled, why do you ask?
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
You can disable that in cloudflare
+1 for SWAKS
I thought this was going to talk about the different ways to send HTML or plaintext emails.
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.