Don't get stuck, use thewormkill's paste bin script
https://evilzone.org/scripting-languages/%28python%29-a-simple-pastebin-uploader/For a nice future in programming, github/gist could be a nice addition to your toolkit.
And mailbombers? That is sooo 80's
You do realise there is a commandline parse for Perl
Getopt::LongGet into using the commandline args and reduce on asking the use for input, advancd users hate it.
Add file support in there, you can even get all the args in one file if you implement a blueprint format and parse that file instead of asking every thing from the commandline. I hope this isn't ahead of your time but custom parsers should be a problem to a PeRL programmer, you parse files for life.
Print that end after sending the file, the use will think the program has hang when it has printed End and infact it still isn't done yet.
Are perl SMTP libs that bad that you have to do the HELLO by yourself in a client script?
I challenge you to a better project:
Build an SMTP server/client network that a user sends an email to indicating the endpoint emailaddress, it strips the metadata, routes it into numerous other host servers in prolly different countries and finally send the email to the final destination. We had a service around those days, wonder if it is still around, but it would be cool to implement. Hit me up if you are gonna do it and hit a wall.