Nope. What do you want to know that's not obvious from the device and action UI panels?CraftGeek wrote:The readme in the zip file contains:FlyingDiver wrote:
No docs other than the readme in the zip file.
Do you have another readme that has more information?Code: Select all
# BetterEmail Plugin for the Indigo Home Automation system. This plugin provides enhances capabilities for sending and receiving email from within Indigo.
Better Email plugin discussion thread
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Better Email plugin discussion thread
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
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.
I guess no amount of documentation will fix a boneheaded goof.
I guess no amount of documentation will fix a boneheaded goof.
Sean
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Better Email plugin discussion thread
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
-
JaceJenkins
- Posts: 59
- Joined: Fri Oct 16, 2015 6:41 am
Re: Better Email plugin discussion thread
Just installed the update for you pluggin to v1.1.1. and I get an error on load:
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.
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
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.
-
JaceJenkins
- Posts: 59
- Joined: Fri Oct 16, 2015 6:41 am
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!
Cheers!
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- 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
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
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.
Picture below which may help illustrate what I'm talking about.
- Attachments
-
- 2016-03-29_09-01-12.jpeg (42.07 KiB) Viewed 5253 times
_______
Norm
Norm
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- 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 : http://forums.indigodomo.com/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.
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
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
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!
Thanks again for the cool plug-in and have a great day!
_______
Norm
Norm
-
jblackburn
- Posts: 76
- Joined: Wed Dec 11, 2013 2:51 pm
- 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
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
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- 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
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
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
-
jblackburn
- Posts: 76
- Joined: Wed Dec 11, 2013 2:51 pm
- 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
Thanks
Joel
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- 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
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
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- 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.
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
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
-
jblackburn
- Posts: 76
- Joined: Wed Dec 11, 2013 2:51 pm
- 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
The plugin fetch email but during the data processing, we have an exception around line #120.
Thanks!
Joël
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 <[email protected]>
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 minutesThanks!
Joël