Hi everyone,
Before I was using SendEmail but it seem that it’s not supporting TLSv1.3 :/ too bad because the SMTP server that I would like to use require it.
Do you have any solution ( Windows ) to send emails (TLSv1.3 supported) trough the CLI? Not powerShell ! but CMD
Is there a reason not to use PowerShell?
yes, 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.True, 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.
Are you also managing AD or other services in Linux to make PS more viable, or just in general?
I 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 "me@somedomain.co.uk" -To "me@someotherdomain.co.uk" -subject "Test to me" -smtpserver My.Mail.Server.co.uk