Solved

E-mail Notification Script

Posted on 2006-07-09
4
688 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
  • 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Sorting in Excel with Group Headers if the Exist 2 70
endX challenge 2 50
firstChar challenge 13 86
White board coding practice 3 61
Purpose To explain how to place a textual stamp on a PDF document.  This is commonly referred to as an annotation, or possibly a watermark, but a watermark is generally different in that it is somewhat translucent.  Watermark’s may be text or graph…
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now