Send Mail On Command Line: Windows Send Mail From Command Line

Asked By 0 points N/A Posted on -
qa-featured

How can I send Email via command line without any software? How can Windows send mail from command line? What are the steps to send Email?

SHARE
Answered By 15 points N/A #105491

Send Mail On Command Line: Windows Send Mail From Command Line

qa-featured

You can't send Email from the Command Prompt in Windows. You can send Email using PowerShell.

(i) Fire up PowerShell.

(ii)In $EmailFrom, you can write your Email address.

(iii) Write the destination address in $EmailTo and do the same for $Subject, $Body, $SMTPServer as shown in the image below. Then change the Email from, Email to, Subject, Body, usr, and pass

.

Related Questions