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

  • allywilson@sopuli.xyz
    link
    fedilink
    arrow-up
    2
    ·
    1 year 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