###########################################################################
#
# NAME: Send-Email
#
# AUTHOR: SivaMulpuru
#
# COMMENT: Email using PowerShell
#
# VERSION HISTORY:
# 1.0 12/6/2011 - Initial release
#
###########################################################################
$smtp = New-Object System.Net.Mail.SMTPClient –ArgumentList 10.20.30.25
$smtp.Send('[email protected]', '[email protected]', `
'This is a test', "Email Sent via PowerShell")
Reference
system.net.mail.smtpclient
Hey there, You have performed a great job. I will definitely digg it and in my view suggest to my friends. I’m sure they’ll be benefited from this website.