Solved

E-mail Notification Script

Posted on 2006-07-09
4
701 Views
Last Modified: 2012-06-27
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
Comment
Question by:billrush2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
yotamsher earned 250 total points
ID: 17067475
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
 

Author Comment

by:billrush2
ID: 17067884
Yotam,

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

Bill
0
 
LVL 7

Expert Comment

by:yotamsher
ID: 17068992
Hey Bill

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

Yotam
0
 

Author Comment

by:billrush2
ID: 17069433
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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show, step by step, how to integrate R code into a R Sweave document
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question