Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to check if email entered exists or not in QLineEdit ?
I want to check if the email entered in a QLineEdit does actually exist or not how could i do that ?
tham last edited by
Pradeep Kumar last edited by
Coming to your question where are storing the values to be checked?.
with your QLineEdit value.
If you mean to actual check that the email is in fact a real email. Not
syntax wise but that an actual server has this actual email for an user then
the short answer is. You cannot.
Some email servers will report back "unknown user" some will just ignore you.
So will report back that mail could not be delivered. some will not.
So what we normally do is to use verification.
You enter email.
System sends you activation mail
You click it.
okay how can i send verfication link to an email address entered in QLineEdit from my app ?
In LineEdit itself and checking if the email is correct or not whenever user clicks on submit button.
Hi It depends on what server you are planning to use to send the emails.
Say you use a google account you can use SMTP and maybe
VRonin last edited by
RobertJ Banned last edited by
This post is deleted!