Programming

Update

http://exchangeserverpro.com/powershell-how-to-send-email/

 

 

$cred=get-credential
$body=Justatest email
Send-MailMessage-Tovlad@demo.com-fromnoreply@demo.com-Subject'test'-Body$body-BodyAsHtml-smtpserversmtp.office365.com-usessl-Credential$cred-Port587

 

reclame