Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  


Verifies if an email is valid.

Component Version macOS Windows Linux Server iOS SDK
Utility 3.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Email.Verify"; emailAddress; Flags )   More


Parameter Description Example
emailAddress The email address to check. ""
Flags The sum of the flags to use.
Add 1 to check via DNS if domain is valid for email.
Add 2 to return the name of the mail server domain.


Returns OK or error message.


Verifies if an email is valid.
Check syntax of email and optionally verifies if domain is registered for email delivery.
The network check may take a few seconds. While the function returns normally after a few milliseconds, the DNS server may not always be reachable and then the DNS query is sent several times.

You can send or receive emails with our CURL functions. For sending the SendMail functions help to build an email and send it, while EmailParser functions help to parse an email.

If you have a DNS server, which will redirect all mistyped domain names to a search website, this won’t really work well and detect too many valid domain names.

Does not work for IDN domains, e.g. with umlauts. You need to transcode them to puny code yourself.


Checks an Email:

MBS("Email.Verify"; ""; 1)

Query mail server for

MBS("Email.Verify"; ""; 2)

Example result: ""

Release notes

  • Version 10.4
    • Changed Email.Verify to have flags as second parameter. We keep 1 for network check and add 2 as an option to return the name of the mail server domain.

Blog Entries

Created 18th August 2014, last changed 25th July 2020

EIDSDK.Version - EmailParser.Address

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins

Start Chat