Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 715
  • Last Modified:

E-mail Notification Script

I need some code which will reliably send an e-mail notification to one or more recipients upon completion of running Microsoft's Sync Toy program.  I need the e-mail to contain the status message resulting from the SyncToy operation (either completed successfully, unable to complete,  etc.

Thanks,

Bill

0
billrush2
Asked:
billrush2
  • 2
  • 2
1 Solution
 
yotamsherCommented:
here is your link

http://www.activexperts.com/activmonitor/windowsmanagement/adminscripts/enterprise/mail/

two options: with or without local SMTP server

I hope that is what you wanted, if you need assistance, with the rest of the script (results from Sync Toy etc.) please post again

Yotam
0
 
billrush2Author Commented:
Yotam,

Thanks - yes I will repost to learn how to tie this into a complete package.

Bill
0
 
yotamsherCommented:
Hey Bill

I didn't mean that you need a new question, just add another comment

Yotam
0
 
billrush2Author Commented:
I need to know how to integrate the following script (using CDO) with SyncToy so that when SyncToy runs, the script runs and sends the result of the SyncToy operation (successful, errors, etc) in the body or subject line of the email generated by the script.

CDO Script

Set objEmail = CreateObject("CDO.Message")
objEmail.From = "monitor1@fabrikam.com"
objEmail.To = "christina@rushtech.net"
objEmail.Subject = "Atl-dc-01 down"
objEmail.Textbody = "Atl-dc-01 is no longer accessible over the network."
objEmail.Send


Bill
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now