Comment on How send emails trough CLI (Windows) ?

<- View Parent
allywilson@sopuli.xyz ⁨11⁩ ⁨months⁩ ago

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

source
Sort:hotnewtop