Page 1 of 7

E-mail

Posted: Wed Dec 24, 2008 6:37 pm
by Pako
I just release the beta version of the new plugin "E-mail".
Yes, from now on you can use even a e-mail to remote control your computer :) !
You always find the latest version here:
http://eventghost.svn.sourceforge.net/v ... _init__.py

The creation of the plugin realy gave me a lot of work.
Hours that I spent on it is not even count.
They were certainly more than 100, but this is the fact that a lot of things I don't know and takes me a long time before I can do is functioning.
Real programmer would have finished much earlier and probably would it also be much better.
Plugin is quite complex and even though I tried it carefully tested, certainly I failed to recognize many errors.
If you find any, report it to me please, in this topic.

I have many ideas, both could be improved plugin. Here are a few of them:
1.) Optional confirmation of an intent to delete a e-mail
2.) In the table of waiting messages indicate the size of the message
3.) In the table of waiting messages indicate the date and time of sending a message
4.) In the table of waiting messages give the possibility to sort messages by column
5.) To the windows with table of waiting messages and with content of messages add the button "Reply"
6.) Give the possibility to export message to file "email.eml"
7.) Give the possibility to use the path to the file "email.eml" as a payload of event
8.) Giving the possibility of automatically respond to certain messages
9.) Correct display messages that are in html format

Some of these options to improve I will certainly add to the plugin, some not.
That depends on what the response from users.
Certainly I would like to incorporate download messages by protocol TLS,
but meantime it is not functioning to me. However, the send messages is working well with this protocol.
I attach screenshots of all the windows and dialogues, which includes a plugin.
Pako

Re: E-mail

Posted: Wed Dec 24, 2008 6:40 pm
by Pako
Screenshots - part 2.

Re: E-mail

Posted: Wed Dec 24, 2008 6:42 pm
by Pako
Screenshots - part 3.

Re: E-mail

Posted: Wed Dec 24, 2008 6:44 pm
by Pako
Screenshots - part 4.

Re: E-mail

Posted: Sat Dec 27, 2008 4:58 am
by Livin
sweet... I'll try this out tomorrow.

Please tell me you will be working on an IM version next? Pretty Please :D

Re: E-mail

Posted: Wed Jan 21, 2009 8:40 pm
by krambriw
Dear Pako,
I have tested a bit the email plugin. Generally it works very good what I have been able to verify.

Additionally I would like to give some feedback to what I have noticed/experienced:

- it seems that multiple events are generated when a matching email is in the inbox (in my case I received one event per minute during 20 minutes (total 20 events for one email)

- I think this should be configurable (the minute setting is there but you should have a setting for "number of events per detected email")

- I think of a very useful application for this plug-in; as a monitoring tool that other stuff is running as expected.

Lets assume I have a very important plug-in running and I always want it to be alive. I could make this plug-in generate events at defined time-interval lets say every minute. But I don't want an email for each event, only if the events do not appear any anymore once they have started (like a watchdog). I think the payload could hold the interval so that the email plugin can know when the next event should be expected. If it doesnt come within the time interval x2 an email shall be sent...

Hope I was somehow clear,

Kind regards, Walter

Re: E-mail

Posted: Sat Jan 24, 2009 7:49 pm
by Pako
Hello Walter !
Very Thank you for your time, devoted to testing a plugin and for your report on the outcome.
krambriw wrote:- it seems that multiple events are generated when a matching email is in the inbox (in my case I received one event per minute during 20 minutes (total 20 events for one email)
Yes, this was the bug, which I found not, although the plugin using daily for several weeks. It was, that I had active the notification window too. In this case, to avoid error. Download is corrected version.
krambriw wrote:- I think this should be configurable (the minute setting is there but you should have a setting for "number of events per detected email")
I think, that now (maybe meantime) I will not change it. Each newly discovered e-mail generates only one event (if not aborted run of observation).

Best regards, Pako

Re: E-mail

Posted: Sun Jan 25, 2009 4:38 pm
by krambriw
Dear Pako,
Now it works OK as intended, very good.

Best Regards, Walter

Re: E-mail

Posted: Mon Feb 09, 2009 1:39 pm
by Pako
First improvements is made: added replay feature.
Pako

Re: E-mail

Posted: Wed Feb 11, 2009 5:43 pm
by krambriw
Hi Pako,
I cant find the replay feature....

BestR Walter

Re: E-mail

Posted: Wed Feb 11, 2009 7:19 pm
by Pako
Hi Walter !
You must enable "Show notification window" ...

Pako

Re: E-mail

Posted: Wed Feb 11, 2009 7:59 pm
by krambriw
Hello Pako,
I got an error when I double clicked on the little email notification window that came up

See the picture...latest version of your plugin and eg, running on Vista, Windows Live Mail as std mail client

Best regards, Walter
email.jpg

Re: E-mail

Posted: Wed Feb 11, 2009 9:22 pm
by Pako
Yes, I see it. But I not understand one thing. You write "Double-click", but it looks like the "CTRL + double-click" ???
However, it is a bug. I have a problem: I now has neither Vista nor Windows Live Mail. I will have to find another way to find a default e-mail client. I maybe I will need help from you. I got the first question: What do you see in the registers here: "HKEY_CLASSES_ROOT\mailto\shell\open\command" ?
Pako

Re: E-mail

Posted: Thu Feb 12, 2009 6:59 am
by krambriw
In the registry it looks like this for "HKEY_CLASSES_ROOT\mailto\shell\open\command"

Code: Select all

"%ProgramFiles%\Windows Mail\WinMail.exe" /mailurl:"%1"

Sorry, should be Ctrl-double-click or double-click, then open email client from button in detail view is causing the error message...

I'm still puzzled to find the "replay" function...help? And what is it for?


Best regards, Walter

Re: E-mail

Posted: Thu Feb 12, 2009 8:31 am
by Pako
krambriw wrote:Sorry, should be Ctrl-double-click or double-click, then open email client from button in detail view is causing the error message...
This is special. I do not know, whether is it Windows Vista feature or only strange behavior of your PC. We could try in your case instead of CTRL key to use the ALT key. Open in editor __init__.py file (in the directory E-mail). Find line number 996 and replace the code

Code: Select all

if evt.ControlDown(): #with CTRL
with this code

Code: Select all

if evt.AltDown(): #with ALT
Then, please try again (with restart of EventGhost). I hope, that now it will not try to run the client.
Pako