Comment on How send emails trough CLI (Windows) ?
allywilson@sopuli.xyz 11 months agoI 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