WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Program will not email out after event occurs (Read 5586 times)
rmosness
YaBB Newbies
*
Offline



Posts: 1
Program will not email out after event occurs
Dec 1st, 2011 at 11:44pm
 
I am using the software and it seems to be working fine with the monitoring of the files. I am however having problems with it emailing the notification out. Is there anyone that might be able to direct me to some help in this matter? I like the product so far just frustrated that it will not work for email.
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: Program will not email out after event occurs
Reply #1 - Dec 2nd, 2011 at 9:46am
 
Hi,

Can you right-click the System.Mail task and select "Explore ...some directory...", this will open Windows Explorer in the System.Mail\Out directory.

All tasks that send email actually only prepare the email by writing a xxxx.wdmail file to System.Mail\Out. The System.Mail task then reads the file and emails its content.
If it is emailed successfully, the file is moved to System.Mail\Sent, if there was a problem it is moved to System.Mail\Fail.

So can you check where the wdmail files are? If they are in "Sent" it means the emails were accepted by the smtp server. If they are in "Fail" there will also be companion .log files that may show you the problem.

Note that a common problem is Anti-Virus/Anti-Spam software that is blocking outgoing emails by "untrusted" programs. Look at your Anti-Virus settings and make sure the following 2 programs are allowed to send email:
wdcc.exe - the WatchDirectory control center
wdpostman.exe - this is the System.Mail component.
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
philmarsay
YaBB Newbies
*
Offline



Posts: 3
Re: Program will not email out after event occurs
Reply #2 - Feb 13th, 2012 at 12:29pm
 
I am getting a very similar, if not identical problem.

I have set notification to be immediate and am not receiving an email. I DO receive the Debug warning email if that is turned on. Also. I have turned on generation of a CSV for the log too, and that is also not being created.

I can see in the log that is is seeing the changes, but it doesn't seem to be doing anything thereafter.

I have followed the suggested instructions above and there is nothing in the failed folder, or any of the logs in that location. The successfully sent DEBUG messages are in the Sent folder - and nothing else.

Am I missing something obvious?
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: Program will not email out after event occurs
Reply #3 - Feb 13th, 2012 at 12:48pm
 
If you receive the debug messages (or actually the warning messages from the "other" settings window), the email itself is not the problem.

Sounds like WD is not detecting the file changes them self. The most common cause is running the task with not enough privileges so the task can not properly access the monitored directory. If I may guess, you are running the task as a Windows Service. Please read this blogpost for further help: http://blog-en.gdpsoftware.com/2010/04/watchdirectory-tasks-as-windows-service.h...

If that blogpost doesn't help you, I need to look into your task settings. See http://watchdirftp.blogspot.com/2010/06/send-task-backup-to-support.html
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
philmarsay
YaBB Newbies
*
Offline



Posts: 3
Re: Program will not email out after event occurs
Reply #4 - Feb 13th, 2012 at 12:58pm
 
THanks for the quick reply. I thought it may be permissions, but I changed the user for which the service was running and this didn't help.
Subsequently, I changed it to run manually, and this hasn't helped either.

I have attached my settings for you to take a look at. Hopefully you can see where/what is going wrong!

thanks,
Phil

Gert: removed the attachment
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: Program will not email out after event occurs
Reply #5 - Feb 13th, 2012 at 1:06pm
 
Ah, ok, a quick look shows you use the "Auditing/Who Did It" task, not just plain email. Always tricky.

See attached screenshot of the task history.... No audit info was found for the file.

Make sure to follow the steps in the helpfile to properly setup auditing:
http://www.watchdirectory.net/wdhelp/plugins/wdopAuditInfoConf.html

Also make sure to use the "Assistant" button. It will check the security logs and show if you properly configured Windows for auditing.
Back to top
 

phil.png (28 KB | )
phil.png

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
philmarsay
YaBB Newbies
*
Offline



Posts: 3
Re: Program will not email out after event occurs
Reply #6 - Feb 13th, 2012 at 1:18pm
 
Aha, yes, I see - the Send Email plugin seems to work fine.

I can't really see much difference between the two methods - the file audit can create a log file, but that seems to be the only difference?

Is there any technical reason why the Audit is different/better to the Send Email?

Thanks,

Phil
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: Program will not email out after event occurs
Reply #7 - Feb 13th, 2012 at 1:31pm
 
The extra thing you get is the user who created/deleted the file (audit task).
But as you noticed, it is harder to setup (and uses more resources, memory, cpu etc).

If you don't really need the user "who did it", you should use the email task:
http://www.watchdirectory.net/wdhelp/plugins/wdopAutoEmail.html
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Page Index Toggle Pages: 1