Source Code and Samples

Thursday 15 February 2007

Send mails from powershell

Description

Send mails from powershell

Source Code

$smtp = New-Object system.net.mail.smtpclient("smtp.server.com")
$smtp.send("fromuser@hotmail.com","touser@hotmail.com", "PowerShell script sample","You can see more powershell scripts in http://powershellscripts.blogspot.com")

No comments: