Page 1 of 2
sender e-mail address
Posted: Wed May 27, 2015 6:13 pm
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
Re: sender e-mail address
Posted: Wed May 27, 2015 9:59 pm
by Klaus
Buonasera franco,
sorry, what exactly do you mean?
Are you using "revmail..."?
Best
Klaus
Re: sender e-mail address
Posted: Thu May 28, 2015 6:43 am
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
Re: sender e-mail address
Posted: Thu May 28, 2015 3:50 pm
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
Re: sender e-mail address
Posted: Thu May 28, 2015 6:45 pm
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
Re: sender e-mail address
Posted: Thu May 28, 2015 8:53 pm
by Klaus
Sorry, same for Android.
Re: sender e-mail address
Posted: Thu May 28, 2015 9:17 pm
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?
Re: sender e-mail address
Posted: Thu May 28, 2015 9:33 pm
by francof
thanks Klaus.
Hi Richard,
only to automatically associate my app to an unique user.
best
franco
Re: sender e-mail address
Posted: Thu May 28, 2015 9:43 pm
by FourthWorld
Maybe the UUID function would help?
Re: sender e-mail address
Posted: Fri May 29, 2015 7:12 am
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
Re: sender e-mail address
Posted: Fri May 29, 2015 6:56 pm
by FourthWorld
The Dictionary entry is a bit sparse, but this background on UUID may be helpful:
http://en.wikipedia.org/wiki/Universall ... identifier
Re: sender e-mail address
Posted: Sat May 30, 2015 11:46 am
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
Re: sender e-mail address
Posted: Sat May 30, 2015 2:20 pm
by FourthWorld
Have you considered asking the user for their email address?
Re: sender e-mail address
Posted: Sat May 30, 2015 5:06 pm
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
Re: sender e-mail address
Posted: Sat May 30, 2015 5:41 pm
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.