Hi Don,
Try this.
Set up a scheduled task to run every 15 minutes
I do it on the hold1 folder too.
If there is nothing in the hold queue then nothing happens.
You might need to install the FileFunctions object but that takes allof two
seconds.
<-----------
filepath="C:\IMAIL\spool\spam\hold2\*.smd"
emailfrom="[EMAIL PROTECTED]"
emailto="[EMAIL PROTECTED]"
Set FFunc = CreateObject("FileFunctions.files")
if FFunc.Exists(filepath) then
FFunc.GetFileList(filepath)
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "(Alert) " & FFunc.Count & " Messages in The Hold
Queue at " & FormatDateTime(Now, 4)
objMessage.From = emailfrom
objMessage.To = emailto
strBody = strBody & "There are currently " & FFunc.Count & " files in the
Hold Queue" & vbCRLF
strBody = strBody & "" & vbCRLF
strBody = strBody & "Date: " & FormatDateTime(Date, 1) & " - " &
FormatDateTime(Now, 4)
objMessage.TextBody = strBody
objMessage.Send
end if
--------->
Kindest Regards
Craig Edmonds
123 Marbella Internet
W: www.123marbella.com
E : [EMAIL PROTECTED]
Marbella Guide Web Portal
W: www.marbellaguide.com
E: [EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Don Brown
Sent: Sunday, May 28, 2006 6:04 PM
To: [email protected]
Subject: [Declude.JunkMail] Hijack Held Notifier
Does anyone have a copy of "Hijack Held Notifier" (A VBscript program that
sends an E-mail whenever Declude Hijack holds any messages)? The link on
Declude's Web Tools page is broken.
----
Don Brown - Dallas, Texas USA Internet Concepts, Inc.
[EMAIL PROTECTED] http://www.inetconcepts.net
(972) 788-2364 Fax: (972) 788-5049
----
---
This E-mail came from the Declude.JunkMail mailing list. To unsubscribe,
just send an E-mail to [EMAIL PROTECTED], and type "unsubscribe
Declude.JunkMail". The archives can be found at
http://www.mail-archive.com.
[ This E-mail has been scanned for Spam and Viruses by Declude ] [ Thank You
For Using 123 Marbella Internet ]
[ This E-mail has been scanned for Spam and Viruses by Declude ]
[ Thank You For Using 123 Marbella Internet ]
---
This E-mail came from the Declude.JunkMail mailing list. To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail". The archives can be found
at http://www.mail-archive.com.