Search code examples
uriemail

Is an e-mail address a URI?


I've tried to figure out whether the format of an e-mail address can be said to comply with the definition of a URI or not, but I've found no explicit confirmation of this so far. I hope someone can provide me with some insight here. Thanks in advance :)


Solution

  • Yes, but with "mailto:" prefix.

    A URI has this form:

    <scheme>:<scheme-specific-part>
    

    The <scheme> is "mailto", the <scheme-specific-part> is the address.

    For example:

    mailto:[email protected]
    

    is a valid URI.