Hi all.
This is simple library to check if Email-Domain is valid.
Is very simple:
CheckEmail
Author: Devil-App
Version: 1
Is important that you have this library:
httputils2
json
okhttp
javaobject
stringutils
Installation instructions:
You have 2 way:
1 LIBRARY
- Unzip the attached file ( CheckEmail1.0-Lib) and copy CheckEmail.jar and CheckEmail.xml to the libraries folder
- Verificaemail-b4a-example.zip is simple B4A
2 CLASS
- Available also Class. Unzip the attachment CheckEmail-class.zip
Thank you particolary @sonicmayne
This is simple library to check if Email-Domain is valid.
Is very simple:
CheckEmail
Author: Devil-App
Version: 1
- checkemail
Methods:- IsInitialized As Boolean
Tests whether the object has been initialized. - Initialize (email As String, Module As Object, EventName As String) As String
- IsInitialized As Boolean
B4X:
'Example: Do you want check if email: [email protected] is valid
Dim verify_email As checkemail
verify_email.Initialize("[email protected]",Me,"check")
.....
'Valore = "01" --> This domain is active and is set up to receive emails normally.
'Valore = "11" --> This domain operates an anonymous, temporary or disposable email service (DEA). It is likely this inbox will only exist for a few minutes or hours.
'Valore = "12" --> ROBOT. This domain runs a monetized bounce service. Emails sent to this address will not be read by a human.
'Valore = "21" --> Invalid Domain
'Valore = "22" --> Unregistered Domain
'Valore = "23" --> No MX Records Found
'Valore = "81" --> Whois Lookup Error
'Valore = "82" --> DNS Lookup Error
'Valore = "91" --> Rate Limit Exceeded
'Valore = "92" --> Internal Server Error
Sub check(valore As String)
Log("Da check Valore: " & valore)
Select Valore
Case "01"
ToastMessageShow("This domain is active and is set up to receive emails normally.", True)
Case "11"
ToastMessageShow("This domain operates an anonymous, temporary or disposable email service (DEA). It is likely this inbox will only exist for a few minutes or hours.", True)
....
End Select
End Sub
'******
Is important that you have this library:
httputils2
json
okhttp
javaobject
stringutils
Installation instructions:
You have 2 way:
1 LIBRARY
- Unzip the attached file ( CheckEmail1.0-Lib) and copy CheckEmail.jar and CheckEmail.xml to the libraries folder
- Verificaemail-b4a-example.zip is simple B4A
2 CLASS
- Available also Class. Unzip the attachment CheckEmail-class.zip
Thank you particolary @sonicmayne
Attachments
Last edited: