WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> Plugins >> Mail Plugin: attachment ist .log
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1273059712

Message started by raoul on May 5th, 2010 at 1:41pm

Title: Mail Plugin: attachment ist .log
Post by raoul on May 5th, 2010 at 1:41pm
I must say, that I like this utility - I am currently evaluating it, but it looks very good.

One question though, I have the intention to monitor a directory and mail the changed file directly to an email adress, I receive the email, there is an attachment, but it is just the log file.

Any thoughts?
Raoul

Title: Re: Mail Plugin: attachment ist .log
Post by Gert on May 6th, 2010 at 9:11am
Hello Raoul,

I am not sure what you are saying with

Quote:
but it is just the log file


Perhaps it is better if you send me the settings of this task to see what might be wrong:
* stop the task
* right-click it (a popup menu shows)
* select "Backup selected task"
Please email me the ZIP this creates so I can have a look. Maybe also include an example email that shows what's wrong.

Gert

Title: Re: Mail Plugin: attachment ist .log
Post by raoul on May 6th, 2010 at 9:42am
Thanks for your reply - Find the backup and example in the attachment...

Thank you for your trouble
Raoul


Gert: removed the attachment

Title: Re: Mail Plugin: attachment ist .log
Post by Gert on May 6th, 2010 at 10:09am
I looked at your settings and the example email.

I have no idea what you are asking...
The sample email has an attached file (2010-0505-123510-PMG-W09-CS Valorfiles.log)

It looks like you have been "playing" with filters, can you try to explain what you are trying to accomplish?

Title: Re: Mail Plugin: attachment ist .log
Post by raoul on May 6th, 2010 at 10:34am
I am sorry, if I was not clear...

I get files dropped in a folder respectively subfolders therein
Of those files, I am only interested in specific ones, in this case ones that have a "va" in their filename. The files are small csv or txt files.
If such a file is being added, I would like your tool to:
- notify me with an email
- attach to this email the news file that triggered this workflow itself

Sofar I get the mail, but the attached file is the logfile of your tool, not the new file itself.

Thanks for your help

Title: Re: Mail Plugin: attachment ist .log
Post by Gert on May 6th, 2010 at 10:44am

raoul wrote on May 6th, 2010 at 10:34am:
Sofar I get the mail, but the attached file is the logfile of your tool, not the new file itself.


This is what confuses me. WatchDirectory does not create logfiles.

I guess you need to create a filter like

Extension
equals
txt;log

so you only receive those files.



Title: Re: Mail Plugin: attachment ist .log
Post by Gert on May 6th, 2010 at 10:58am

Gert wrote on May 6th, 2010 at 10:44am:
Extension
equals
txt;log


Extension
equals
txt;csv

obviously

Title: Re: Mail Plugin: attachment ist .log
Post by raoul on May 6th, 2010 at 10:59am
thanks - I will try asap and let you know


Title: Re: Mail Plugin: attachment ist .log
Post by raoul on May 6th, 2010 at 2:08pm
Well, I restarted the mailservice in the app, changed only the "send to" email adresses for testing and without changing anything else - it worked.

I guess it was one of those strange green goblins that hide in code or services and just make our lives more interesting.

Anyway - looks like I am happy now and I guess I can safely purchase the pro version in a couple of days.

Thanks
Raoul

WatchDirectory Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2017. All Rights Reserved.