How send emails trough CLI (Windows) ?
How send emails trough CLI (Windows) ?
mutt?
download site: http://www.mutt.org/download.html
their gitlab: https://gitlab.com/muttmua/mutt
3 0 ReplyThank you @[email protected] Seem great, I'll keep it for later :)
But not for what I need now, as
Mutt is a small but very powerful text-based mail client for Unix operating systems
and it's a "full" client, I need just the SMTP functionality.
3 0 Reply
Has I found nothing, I've write a piece of code in Python 🐍 ! and compile it for Windows..
3 0 ReplyThat's a good solution. Python is an excellent, and very portable solution, for sending emails.
2 0 Reply
Is there a reason not to use PowerShell?
2 0 Replyyes, it's been years that I'm using
CMD
and as I'm planning get rid of windows there is no point for me to learn it.1 0 ReplyI don't think you need to learn it, you just need to use one command. Even from a CMD prompt you can invoke powershell and a powershell cmdlet in a one-liner:
powershell send-mailmessage -from "[email protected]" -To "[email protected]" -subject "Test to me" -smtpserver My.Mail.Server.co.uk
2 0 ReplyTrue, you're certainly not forced to learn PowerShell if you're about to switch to Linux.
That said, PowerShell is my preferred shell on Linux.
PowerShell is open source, works great on Linux, and is even one of the pre-installed shells on Ubuntu.
And yes, I'm not sure what to think of all that, either. It's weird. It's also really useful.
3 2 Reply