Page 7 of 7

Re: Better Email Q&A

PostPosted: Mon Jan 15, 2018 4:04 pm
by FlyingDiver
ghenne wrote:
I see Email Scanned messages.

Code: Select all
Jan 15, 2018 at 5:20:05 AM
  Email Scanned                   from "service@intl.paypal.com"; subject "Payment Skipped"


That's from the Indigo built-in email scanner, not from BetterEmail. If you want to use the BetterEmail triggers, you need to turn off the built-in scanner and configure a BetterEmail POP or IMAP device.

Re: Better Email Q&A

PostPosted: Mon Jan 15, 2018 5:37 pm
by ghenne
FlyingDiver wrote:
That's from the Indigo built-in email scanner, not from BetterEmail. If you want to use the BetterEmail triggers, you need to turn off the built-in scanner and configure a BetterEmail POP or IMAP device.


I have IMAP configured in Preferences in the Mail tab. Does BetterMail have its own configuration? Where?

(Is there documentation I should have found?)

Re: Better Email Q&A

PostPosted: Mon Jan 15, 2018 5:40 pm
by FlyingDiver
ghenne wrote:
I have IMAP configured in Preferences in the Mail tab. Does BetterMail have its own configuration? Where?

(Is there documentation I should have found?)


Like I said, BetterEmail is totally independent of the Indigo built-in email system. BetterEmail uses Indigo devices to represent each server you want to use. If you want to handle mail on an IMAP server, you create a BetterEmail device of type "IMAP Server".

This thread, and the thread for the Indigo 6 version, are the best resource: viewtopic.php?f=211&t=14411

Re: Better Email Q&A

PostPosted: Sat Mar 17, 2018 12:28 pm
by FlyingDiver
Just released version 7.2.0, available from the Plugin Store or GitHub.

https://github.com/FlyingDiver/Indigo-B ... /tag/7.2.0

Added timeout code to restart IDLE connections
New MessageTo states in IMAP and POP devices
Removed GHPU entirely
Log messages updated

Re: Better Email Q&A

PostPosted: Mon Oct 22, 2018 12:26 pm
by FlyingDiver
Release 7.2.4 is now available.

Handle null flags (Gmail)

Allow message search for HTML-only emails (no plain text alternative).

Re: Better Email Q&A

PostPosted: Thu Dec 06, 2018 11:48 pm
by Gangotti
First, let me say this is a great plugin. I am wondering if there is a way to do a partial string match. I am using alarm.com currently and I have it sending notifications to Indigo. In Indigo I have the better email plugin triggering indigo with a string match in email event. The email is coming has a subject of " Vegas Home: The Kitchen Door was Opened at 11:02 am" With the time in the subject and the message body it makes it so the trigger will not work. Is there a way for the event to trigger if a section of the string is in the subject? I.e. "Vegas Home: The Kitchen Door was Opened at"

Thanks again and keep up the great work!

Re: Better Email Q&A

PostPosted: Fri Dec 07, 2018 12:16 am
by FlyingDiver
Gangotti wrote:
First, let me say this is a great plugin. I am wondering if there is a way to do a partial string match. I am using alarm.com currently and I have it sending notifications to Indigo. In Indigo I have the better email plugin triggering indigo with a string match in email event. The email is coming has a subject of " Vegas Home: The Kitchen Door was Opened at 11:02 am" With the time in the subject and the message body it makes it so the trigger will not work. Is there a way for the event to trigger if a section of the string is in the subject? I.e. "Vegas Home: The Kitchen Door was Opened at"

Thanks again and keep up the great work!


Use the regex match for partial matches. Lots of examples for regex on the net.

Re: Better Email Q&A

PostPosted: Thu Dec 13, 2018 7:38 am
by pgershon
I am just trying to set-up Better Email since my FIOS email on the regular client stopped working. Using MacMini running 10.13. When I install Better Email, I get errors in the log rapid-fire and need to deactivate. Any ideas?

Reloading plugin "Better Email 7.2.4"
Starting plugin "Better Email 7.2.4" (pid 85010)
Error receive socket select() 22 error
Error receive socket select() 22 error
Error receive socket select() 22 error

Re: Better Email Q&A

PostPosted: Thu Dec 13, 2018 3:45 pm
by FlyingDiver
pgershon wrote:
I am just trying to set-up Better Email since my FIOS email on the regular client stopped working. Using MacMini running 10.13. When I install Better Email, I get errors in the log rapid-fire and need to deactivate. Any ideas?

Reloading plugin "Better Email 7.2.4"
Starting plugin "Better Email 7.2.4" (pid 85010)
Error receive socket select() 22 error
Error receive socket select() 22 error
Error receive socket select() 22 error


Is that before you created any devices? If not, what devices have you created? Show the device configuration.

Can the Action List text be updated to include more informat

PostPosted: Thu Aug 08, 2019 1:02 pm
by joel.snyder
In the basic Indigo mail sender, an action shows up in the Action list as something like:

"send email to <destination address> subject <subject line>"

Whereas with Better Email, the Action shows up as

"Send email"

Although the default Indigo email system is prone to clogging, honestly the action item list is more useful because it gives you an idea of what you are doing without having to dive into each item.

Is there a way for the plugin to provide a "better" text line? (If you can point me at API docs or a general approach, I'd be happy to try a pull request and update it; I just have never done a Plugin with actions so I don't even know if this is possible...

Thanks for a great plugin!

Joel

Re: Can the Action List text be updated to include more info

PostPosted: Thu Aug 08, 2019 1:20 pm
by FlyingDiver
joel.snyder wrote:
Is there a way for the plugin to provide a "better" text line? (If you can point me at API docs or a general approach, I'd be happy to try a pull request and update it; I just have never done a Plugin with actions so I don't even know if this is possible...


I honestly do not think it's possible. It's the difference between an action built into the Indigo server and a plugin. The server could pull some info from the action's pluginPrefs to show more detail there, but there's no API I've ever seen that would be used to do so.

I'd post in the Feature Request forum for an extension to the API to allow a plugin to supply a summary of an action for that UI.

Re: Better Email Q&A

PostPosted: Sun Nov 17, 2019 8:45 am
by DaveL17
Hi Joe - is it possible to designate the email format as HTML when using the plugin scripting API? I can successfully create an HTML formatted email through a plugin action no problem, but it seems like the API is plain text only. If that's the case, I'm happy to put in a feature request on Git.

Re: Better Email Q&A

PostPosted: Sun Nov 17, 2019 3:37 pm
by FlyingDiver
Add “emailFormat”: “html” to the props in the script.

Re: Better Email Q&A

PostPosted: Sun Nov 17, 2019 4:21 pm
by DaveL17
Works perfect. Thanks. Considering some Better Email hooks within some of my plugins which would allow users to have the option of using Indigo's built-in method or yours.