[SOLVED] Can we login to Gmail with TSNet or do we need OAuth?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Lagi Pittas
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 365
Joined: Mon Jun 10, 2013 1:32 pm

[SOLVED] Can we login to Gmail with TSNet or do we need OAuth?

Post by Lagi Pittas » Thu Apr 05, 2018 5:08 pm

Hi All,

Well the subject says it all.

I followed the tutorial here

http://lessons.livecode.com/m/4071/l/85 ... ap-account

And I get an

"Error connecting to server: tsneterr: (67) Login Denied"

What am I doing wrong - I am using the Business edition although indy edition gave the same error

Do I need to login using OAthe 2.0 and then use tsnet to do the clever bits? Do I need to somehow tell Gmail that I am a trusted program and if so how - Dropbox on the Iphone comes back and asks so I assume that is OAuth.

Regards Lagi
Last edited by Lagi Pittas on Fri Apr 06, 2018 4:59 pm, edited 1 time in total.

mrcoollion
Posts: 719
Joined: Thu Sep 11, 2014 1:49 pm
Location: The Netherlands

Re: Can we login to Gmail with TSNet or do we need OAuth?

Post by mrcoollion » Thu Apr 05, 2018 6:48 pm

Did you set up your GMAIL account correct?
If not it will not work.

see: https://www.lifewire.com/how-to-enable- ... ap-1170856

Hope this helps.

Regards,

Paul

Lagi Pittas
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 365
Joined: Mon Jun 10, 2013 1:32 pm

Re: Can we login to Gmail with TSNet or do we need OAuth?

Post by Lagi Pittas » Thu Apr 05, 2018 7:09 pm

Hiya

Yep it’s all set for imap
I have downloaded before from gmail using mailstore
And that worked

Lagi

ghettocottage
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 366
Joined: Tue Apr 10, 2012 9:18 am

Re: Can we login to Gmail with TSNet or do we need OAuth?

Post by ghettocottage » Thu Apr 05, 2018 7:37 pm

You will also need to enable "less secure apps" for your gmail account:
https://support.google.com/accounts/ans ... 0255?hl=en

Lagi Pittas
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 365
Joined: Mon Jun 10, 2013 1:32 pm

Re: Can we login to Gmail with TSNet or do we need OAuth?

Post by Lagi Pittas » Fri Apr 06, 2018 4:59 pm

Thanks GC

That worked a treat - thanks a lot.

Kindest Regards

Lagi

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”