I often use telnet or netcat to connect smtp servers to send an email as a test.
Does anyone know how you would send an email using telnet or netcat but attach a file as well? There are probably better ways, but I still want to know 🙂
I would be happy with a solution that uses a little bash shell to accomplish the goal, but don't want to use any other tools…
Best Answer
Okay, so using everyone's comments as a starting point I came up with this silly mess :-) ...