error on gmail email scan

mpovolo
Posts: 51
Joined: Wed Dec 19, 2018 12:10 am

error on gmail email scan

Post by mpovolo »

I am getting this, any idea how to fix it

Code: Select all

Gmail: Error fetching Message 1: coercing to Unicode: need string or buffer, int found
thanks
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: error on gmail email scan

Post by FlyingDiver »

Turn on debug logging and then post what you get.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
mpovolo
Posts: 51
Joined: Wed Dec 19, 2018 12:10 am

Re: error on gmail email scan

Post by mpovolo »

Code: Select all

Better Email Debug              Gmail: Connecting to POP Server
Better Email Debug              Gmail: Fetching Message # 1
Better Email Debug              Gmail: Parsing message GmailId16cd0bda7d51e82d
Better Email                    Gmail: Received Message Subject: Your Front Door camera saw Duilio.
Better Email                    Received Message From: Vomano <[email protected]>
Better Email                    Gmail: Received Message To: [email protected]
Better Email                    Gmail: Received Message Date: Tue, 27 Aug 2019 01:43:05 +0000
Better Email Error              Gmail: Error fetching Message 1: coercing to Unicode: need string or buffer, int found
Better Email Debug              Gmail: Logged out from POP server
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: error on gmail email scan

Post by FlyingDiver »

I think you're the first person I've seen that is using POP with Gmail. OK, I need you to set the logging to "Detailed Debugging" and run the same test.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
mpovolo
Posts: 51
Joined: Wed Dec 19, 2018 12:10 am

Re: error on gmail email scan

Post by mpovolo »

Should I be using IMAP
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: error on gmail email scan

Post by FlyingDiver »

mpovolo wrote:Should I be using IMAP
That does seem to work for most people.

Since the error you got mentioned unicode, I'm cleaning up the code to be more unicode friendly. This was the first plugin I wrote, so it's not as clean as my more recent ones.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
mpovolo
Posts: 51
Joined: Wed Dec 19, 2018 12:10 am

Re: error on gmail email scan

Post by mpovolo »

I switched to IMAP, will try it.

Also, are you by chance familiar with http digest authentication and using restful API to run actions on into server
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: error on gmail email scan

Post by FlyingDiver »

mpovolo wrote:Also, are you by chance familiar with http digest authentication and using restful API to run actions on into server
I am, somewhat, but this in not the right forum for that. Post in the appropriate forum. I'll see it.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
mpovolo
Posts: 51
Joined: Wed Dec 19, 2018 12:10 am

Re: error on gmail email scan

Post by mpovolo »

ok thanks, can I use idle with gmail IMAP

thanks
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: error on gmail email scan

Post by FlyingDiver »

mpovolo wrote:ok thanks, can I use idle with gmail IMAP
I think so. Try it and see.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Post Reply

Return to “Better Email”