xtd 0.2.0
Loading...
Searching...
No Matches

◆ uri_scheme_mailto

const xtd::ustring xtd::uri::uri_scheme_mailto
inlinestatic

Specifies that the URI is an e-mail address and is accessed through the Simple Mail Transport Protocol (SMTP). This field is read-only.

Examples
The following example creates a xtd::uri instance and determines whether the scheme is xtd::uri::uri_scheme_mailto.
uri address3("mailto:user@contoso.com?subject=uri");
if (address3.scheme() == uri::uri_scheme_mailto)
console::write_line("uri is an email address");
static void write_line()
Writes the current line terminator to the standard output stream using the specified format informati...
static const xtd::ustring uri_scheme_mailto
Specifies that the URI is an e-mail address and is accessed through the Simple Mail Transport Protoco...
Definition uri.h:185
Provides an object representation of a uniform resource identifier (URI) and easy access to the parts...
Definition uri.h:103