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……..

image

# From relay@smtp25.org  This is from address Change it as you wish
# To oz@smtp25.org 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
$smtpserver="HTS2"
$smtp=New-Object Net.Mail.SmtpClient($smtpserver)
$smtp.send("relay@smtp25.org","oz@smtp25.org","Testing PS Script mail ","This script will E-mail you from Power Shell")

image

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

image

Oz Casey Dedeal

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

Http://smtp25.blogspot.com (Blog)

Https://telnet25.spaces.live.com (Blog)

Https://telnet25.worldpress.com (Blog)

7 comments:

Unknown 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:
http://www.enstellaedbrecovery.com
http://www.edbtopsts.com

Unknown 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-:
http://www.microsoft.edbtopstconverter.org/

Unknown 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- http://www.convert.edbtopst.info/freeware/

Unknown 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: http://www.filesrecoverytool.com/exchange-edb-recovery.html

Anonymous said...

EDB to PST Converter Software can easily convert corrupt exchange server edb into healthy pst files with all email properties. It is most effective and reliable program that supports exchange server version 2013, 2010, 2007, 2003, 2000, 5.5

Read more:- http://www.mannatsoftware.com/stellar-phoenix-edb-to-pst-converter.html

EdbMails said...

EDB to PST Converter repairs corrupt or damaged Exchange EDB files and restores the mailboxes into Outlook PST file. You can easily view Mailbox data from the PST files using MS Outlook application. It supports MS Exchange Server Recovery for 2003, 2007, 2010 and 2013 corrupt and unmounted database.

Recovers Calendar, Attachments, Drafts etc., from the damaged EDB files

EDB to PST Exchange server Recovery tool helps you to recover mails, images, attachments, drafts, calendar, journals, appointments, tasks, notes, etc. from the damaged EDB files. Its ease of use GUI enables you to preview recovered mail items.

- Recover / Restore only required Mailboxes
- EdbMails capability of granular / brick-level mailbox EDB to PST conversion support, will help you to recovery any desired Mailboxes data.
- Automatic handling of PST file size limit
- If the Outlook PST file reaches size limit then, EDB to PST Converter will automatically split the PST file into multiple files based on the size limitation of the Outlook PST.
- Recover Deleted Mailboxes
- Edb to PST converter can easily recover mailboxes, which have been deleted knowingly or unknowingly.
- Recover and Save as EML, MSG format
- In addition to saving the recovered data as PST file, it also allows you to save the recovered data as MSG, EML formats.

http://edbmails.com

Unknown said...

Attempt stella edb to pst recovery software to recover your edb file data into pst file. Stella edb to pst recovery software recover all the exchange mailbox items in to pst file. Stella edb to pst recovery software recover all of the unmounted edb file data into pst file. Stella edb to pst recovery software recover deleted items data into pst file. Stella edb into pst recovery software recover 32bit and 64bit edb file data into pst file. For more info visit this link https://www.stelladatarecovery.com/exchange-edb-recovery.html