sender e-mail address

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

francof
Posts: 237
Joined: Fri Apr 11, 2014 10:51 am

sender e-mail address

Post by francof »

Hi all,
there is a manner by code to see the e-mail address, used like sender address, before to send e-mail?

best regards
franco
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: sender e-mail address

Post by Klaus »

Buonasera franco,

sorry, what exactly do you mean?
Are you using "revmail..."?


Best

Klaus
francof
Posts: 237
Joined: Fri Apr 11, 2014 10:51 am

Re: sender e-mail address

Post by francof »

Ciao Klaus,

I try to explain better: at present now I not want to send mails.
I only want to verify the address of the account created on the device.

best
franco
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: sender e-mail address

Post by Klaus »

Hi franco,

OK, get it, but I'm afraid you cannot access any of the iOS settings from within your LC app.
At least not with the built-in means. Maybe with an external, but no idea if something
like this exists.

If it does, you may find it here: http://mergext.com


Best

Klaus
francof
Posts: 237
Joined: Fri Apr 11, 2014 10:51 am

Re: sender e-mail address

Post by francof »

ciao Klaus,

this is a very bad news. :( I will see to the link you have posted.
Have you idea if this is possible in android environment?

best
franco
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: sender e-mail address

Post by Klaus »

Sorry, same for Android.
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: sender e-mail address

Post by FourthWorld »

francof wrote:at present now I not want to send mails.
I only want to verify the address of the account created on the device.
There may be another way to solve the problem. Why do you want to verify the email address?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
francof
Posts: 237
Joined: Fri Apr 11, 2014 10:51 am

Re: sender e-mail address

Post by francof »

thanks Klaus.

Hi Richard,
only to automatically associate my app to an unique user.

best
franco
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: sender e-mail address

Post by FourthWorld »

Maybe the UUID function would help?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
francof
Posts: 237
Joined: Fri Apr 11, 2014 10:51 am

Re: sender e-mail address

Post by francof »

FourthWorld wrote:Maybe the UUID function would help?
maybe!

I've quickly reading at this voice in the dictionary, where can I find more info?
on what is based the construction of the uuid?

thanks
ciao
franco
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: sender e-mail address

Post by FourthWorld »

The Dictionary entry is a bit sparse, but this background on UUID may be helpful:
http://en.wikipedia.org/wiki/Universall ... identifier
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
francof
Posts: 237
Joined: Fri Apr 11, 2014 10:51 am

Re: sender e-mail address

Post by francof »

if I'm not wrong, uuid is random generated, this isn't good for me: if I generate it several times, on the same device, the UUID will be always different.
I need the code be always the same ( obviously on the same device: computer, smartphone, iphone).

anyway, this note in the dictionary: " If type is "md5" or "sha1" then it returns a version 3 (md5) or version 5 (sha1) UUID. Here namespace_id should be the UUID of the namespace in which name sits, and name can be any string. "
where say: "...Here namespace_id should be the UUID of the namespace in which name sits, and name can be any string. "
it's very obscure for me.

best
franco
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: sender e-mail address

Post by FourthWorld »

Have you considered asking the user for their email address?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
francof
Posts: 237
Joined: Fri Apr 11, 2014 10:51 am

Re: sender e-mail address

Post by francof »

FourthWorld wrote:Have you considered asking the user for their email address?
yes, but the problem is another one: every time user open the app, I must read some unambiguous data of the device where the app is installed. a data strictly personal of that device.

on android I've solved using mobileBuildInfo function.
when app start, code reads that info to do a control. if there is a match app go ahead, otherwise...

ciao
fanco
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: sender e-mail address

Post by jacque »

Android build info is not reliable, some manufacturers use the same info on all the devices of the same model. And of the devices I've looked at, many of the identifying entries are listed as simply "unknown" which will match other models too.

The best method is to assign a unique identifier on first launch and store it in a preference file. Read the file to get the assigned ID whenever you need it.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
Post Reply