Wednesday, June 10, 2009

PS Sent Mail Script

This time we will have PS to sent mail with Subject and Body we will define within the PS parameters. You can imagine what will be the upcoming articles about shortly , plugging this into PS script  and using PS to sent automated e-mails or alerts as you wish.

This little script is just going to sent mail out……..


# From  This is from address Change it as you wish
# To this is To address
# This is Subject line "Testing PS Script mail"
# This is Body of this E-mail "This script will E-mail you from Power Shell"
# smtpserver="HTS2" HTS2 is my Hub Transfer server, replace this to #your own
# Finally make sure Port 25 is not Blocked from where ever you running #this from and relay is working
$smtp=New-Object Net.Mail.SmtpClient($smtpserver)
$smtp.send("","","Testing PS Script mail ","This script will E-mail you from Power Shell")


open your outlook you will see the e-mail. all credits goes to, and PowerGUI (-: for making live easy


Oz Casey Dedeal

MVP (Exchange)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +

Http:// (Blog)

Https:// (Blog)

Https:// (Blog)


Elena Camila said...

Recover Exchange EDB to PST software repair your corrupted database to debug all issues. Then it scans your EDB file thoroughly so that user can get each and every secure data in exact manner. Exchange data recovery software successfully retrieves your Exchange Mailboxes from EDB file and then securely recovers all stored inputs without making any damages.
Read More Info:

Browni Villa said...

Microsoft EDB to PST converter software facilitates quick recovery of Exchange with smooth conversion of EDB to PST. It is a professional application that makes simple to extract mailbox from EDB file and restore data into PST file completely. This is really a nice key to open Exchange database in Outlook PST file format.

Read More-:

Packard leo said...

Exchange server recovery software is the perfect tool which easily repair corrupt EDB file and recover Exchange EDB to PST. It easily convert Exchange mailbox to Outlook PST. This Exchange EDB to PST software let you extract Exchange database to PST without facing any problem.

Read more-

Kaye R. Jenkins said...

Effective Exchange Edb Recovery Software restore EDB to PST without creating any issue. This is wonderful application that recover EDB to PST, EML, MSG and HTML formats.

For more help you can visit here:

Stanley D. Middleton said...

Quickly download EDB to PST Converter which can easily resolve EDB file errors and easily convert into PST outlook files including entire emails data, attached mailbox folders such as journals, tasks, notes, contacts and calendars etc.It recovers EDB file in few seconds and you can view EDB file into 4 different formats like as PST, EML, MSG and HTML file format.It can supported all update version of MS Exchange Server 2016 / 2013 / 2010 / 2007 / 2003 / 2000 and 5.5. To download click: