Better Email plugin discussion thread

Posted on
Sat Feb 13, 2016 10:24 am
FlyingDiver offline
User avatar
Posts: 7265
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Better Email plugin discussion thread

CraftGeek wrote:
FlyingDiver wrote:

No docs other than the readme in the zip file.



The readme in the zip file contains:
Code: Select all
# BetterEmail

Plugin for the Indigo Home Automation system.

This plugin provides enhances capabilities for sending and receiving email from within Indigo.


Do you have another readme that has more information?


Nope. What do you want to know that's not obvious from the device and action UI panels?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sat Feb 13, 2016 10:37 am
CraftGeek offline
User avatar
Posts: 107
Joined: May 13, 2015

Re: Better Email plugin discussion thread

When I posted that, I was trying to figure out how to get a device status sent. Turns out, I had the DeviceID and StateID reversed. :roll:

I guess no amount of documentation will fix a boneheaded goof.

Sean

Posted on
Sat Feb 13, 2016 10:38 am
FlyingDiver offline
User avatar
Posts: 7265
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Better Email plugin discussion thread

:D

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue Mar 22, 2016 5:08 pm
JaceJenkins offline
Posts: 52
Joined: Oct 16, 2015

Re: Better Email plugin discussion thread

Just installed the update for you pluggin to v1.1.1. and I get an error on load:

Code: Select all
Starting plugin "Better Email 1.1.1" (pid 529)
  Started plugin "Better Email 1.1.1"
  Better Email Debug              startup called
  Better Email Debug              Starting server: Receive Email
  Better Email Error              exception in deviceStartComm(Receive Email): 'key useIDLE not found in dict'
  Better Email Debug              Starting server: Send Email


Indigo version - 6.1.7

Looks to be working other then that issue. Ill let you know if I see any other issues. Thanks for the great pluggin,! I use it with IFTTT to do presence awareness.

Posted on
Tue Mar 22, 2016 5:21 pm
JaceJenkins offline
Posts: 52
Joined: Oct 16, 2015

Re: Better Email plugin discussion thread

I think I fixed it. I turned on IDLE in my IMAP device and the error went away.

Cheers!

Posted on
Tue Mar 22, 2016 6:34 pm
FlyingDiver offline
User avatar
Posts: 7265
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Better Email plugin discussion thread

Yeah, I should have done something to update old device definitions when I add state. You can turn off IDLE if you don't want it, just the act of editing the device config fixes that error.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue Mar 29, 2016 10:13 am
norcoscia offline
User avatar
Posts: 1211
Joined: Sep 09, 2015

Re: Better Email plugin discussion thread

Hi Joe, I just installed your Better Email plug-in and it is working great for me. I tested it by sending myself an email that includes a message that contains variable information. It works but I can't get the plug-in message field to enlarge. I would like to add much more detailed information into the message but it will be hard with only one line showing. I can keep typing (the field will scroll) but it is hard to manage for a long message. This may not be a limitation of your plug-in since I have seen this elsewhere but asking because you may have seen it and have a solution (plus I wanted to say thanks for providing the plug-in).

Picture below which may help illustrate what I'm talking about.
Attachments
2016-03-29_09-01-12.jpeg
2016-03-29_09-01-12.jpeg (42.07 KiB) Viewed 4591 times

_______
Norm

Posted on
Tue Mar 29, 2016 1:09 pm
FlyingDiver offline
User avatar
Posts: 7265
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Better Email plugin discussion thread

Indigo doesn't currently have a way to do a multi-line field in the device UI dialogs. See : viewtopic.php?f=18&t=8338

Easiest way to do what you want, at this time, is to create your message text in a plain text editor, then paste it into that field. Not practical to edit it there, but you can at least get it in there.

If this is something that comes up a lot, I could probably add a way to specify a text file path for the message body.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue Mar 29, 2016 1:22 pm
norcoscia offline
User avatar
Posts: 1211
Joined: Sep 09, 2015

Re: Better Email plugin discussion thread

OK, thanks Joe - I suspected that was the case but since I'm still an Indigo newbie I was not totally sure.

Thanks again for the cool plug-in and have a great day!

_______
Norm

Posted on
Wed Apr 06, 2016 2:21 pm
jblackburn offline
Posts: 77
Joined: Dec 11, 2013
Location: Quebec, Canada

Re: Better Email plugin discussion thread

Hi,

Thanks for you plugin! It works great but I have an issue with special caracter (e.g letter with accent) from the french language. I suspect your plugin don't take care of unicode characters.

As exemple, if I send "éÀè" in the subject, I will receive "=?UTF-8?B?ZUFlID0gw6nDgMOo?=" through better email plug in action!

Thanks!

Joël

Posted on
Wed Apr 06, 2016 3:21 pm
FlyingDiver offline
User avatar
Posts: 7265
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Better Email plugin discussion thread

Well, no, I actually am encoding the subject header for unicode characters. But I'm encoding it in UTF-8, which your email client doesn't seem to be handling properly.

I only tested receiving those emails with the OSX Mail.app, and it works fine. I just did another test with the characters you posted in the subject line. The RAW source of the email has this:

Subject: =?utf-8?q?Better_Email_Unicode_Test_-_=C3=A9=C3=80=C3=A8?=

But it's displayed in my email client as:

Better Email Unicode Test - éÀè

joe

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Apr 06, 2016 8:45 pm
jblackburn offline
Posts: 77
Joined: Dec 11, 2013
Location: Quebec, Canada

Re: Better Email plugin discussion thread

My issue is from the client to the plugin. With an action, the subject contain the equivalent code. Is it ok?

Thanks

Joel

Posted on
Thu Apr 07, 2016 5:25 am
FlyingDiver offline
User avatar
Posts: 7265
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Better Email plugin discussion thread

Oh, you're talking about fetching email from an IMAP or POP server, not sending email. That was not at all clear.

You're right. I'm not decoding incoming email into Unicode. I'll take a look at doing that.

joe

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Thu Apr 07, 2016 4:26 pm
FlyingDiver offline
User avatar
Posts: 7265
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Better Email plugin discussion thread

Try this version: https://github.com/FlyingDiver/BetterEm ... master.zip

Please test unicode characters in the Subject and From headers, as well as the message body. If you have a way of sending emails with different encodings (other than UTF-8), that would be good to test as well. I don't.

I'm not calling this an official release yet, because it also has a new updater mechanism that I haven't tested very well.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Fri Apr 08, 2016 1:50 pm
jblackburn offline
Posts: 77
Joined: Dec 11, 2013
Location: Quebec, Canada

Re: Better Email plugin discussion thread

Hi,

I think we have something... I'm not able to pull messages with or without special characters! Here the debug information

Code: Select all
Better Email Debug              serverId: xxx, serverTypeId: imapAccount
Better Email Debug              Connecting to IMAP Server: eMail In
Better Email Debug              eMail In: msg_ids = ['1']
Better Email Debug              eMail In: Checking Message # 1
Better Email Debug              eMail In: Fetching Message # 1
Better Email Debug              Received Message Subject: Testing!
Better Email Debug              Received Message From: xxx <xxx@gmail.com>
Better Email Debug              Error fetching Message # 1: decode() argument 1 must be string, not None
Better Email Debug              Logged out from IMAP server
Better Email Debug              Next poll in 5 minutes
The plugin fetch email but during the data processing, we have an exception around line #120.

Thanks!

Joël

Page 3 of 9 1, 2, 3, 4, 5, 6 ... 9

Who is online

Users browsing this forum: No registered users and 1 guest