So first off let me start off saying that EG is one of the best pc automation tools I have ever seen. I'm only now starting to understand all of the possibilities that can be done with EG and a good setup. My problem however comes with the Email plugin designed by Pako. It works perfectly in regards to checking the email and filtering out the results. The problem is that I cannot run a command when an email event arrives.
What I want to do is be able to receive an email from different people, then run a different command based on the user. I have everything down so far. I ended up simply typing "received" into event name (under "trigger total event") and selected the "subject" payload. So for example, if I received an email from [email protected], an Event in EG shows up saying "Email.Received "[email protected]". So I simply dragged that Event and put it with a command. This is where my problem occurs. EG won't activate any command based on the Event name "Email.Received '[email protected]'". After testing different things (such as using wildcards) I couldn't get it to work. The only thing that worked was "Email.Received". But this defeats the purpose of the entire setup because I want a different command run for each defined user.
So what do I do? i really want to get this to work and it is only the very last step that is stopping me from achieving this. I don't know much (or anything at all) about scripting in Python. This is not really so much a problem with the plugin as it is an issue recognizing the full name of the Event. So please, any help in solving this would be very much appreciated.
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Email Plugin - Full Event name won't recognize. please help
-
steven.smith
- Posts: 5
- Joined: Mon Feb 04, 2013 5:07 am
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Email Plugin - Full Event name won't recognize. please h
There are many possible solutions.
Perhaps the simplest is this:
1. Create a filter that transmits all e-mails2. Use Python script (Python command is enough), that from the event payload creates event suffixPako
Perhaps the simplest is this:
1. Create a filter that transmits all e-mails2. Use Python script (Python command is enough), that from the event payload creates event suffixPako
-
steven.smith
- Posts: 5
- Joined: Mon Feb 04, 2013 5:07 am
Re: Email Plugin - Full Event name won't recognize. please h
Thanks Pako for your help. It now works like a charm. Thanks again for the help.
Re: Email Plugin - Full Event name won't recognize. please h
When I look in the list of plugins for Eventghost, I do not see the 'Email Plugin'. Which one are we talking about here? Could you provide us with a link, please?
Thanks,
Perry
Thanks,
Perry
Re: Email Plugin - Full Event name won't recognize. please h
Thank you, Kalia
-
steven.smith
- Posts: 5
- Joined: Mon Feb 04, 2013 5:07 am
Re: Email Plugin - Full Event name won't recognize. please h
Kalia is correct. The E-mail plugin made by Pako is found at viewtopic.php?f=9&t=1168 . You have to download it and put it into your plugins folder, then restart EG. Then you can see it in EG.