Aracılığıyla paylaş


Nasıl Yapılır: Mailto Kullanın: Bir Sayfadan Posta Gönderme

This example shows how to use Hyperlink in conjunction with a mailto: uniform resource identifier (URI).

Örnek

The following code shows how to use a mailto: uniform resource identifier (URI) to open a new mail window that contains an email address, and email address and a subject, and an email address, subject, and body.

<Hyperlink NavigateUri="mailto:username@domainname">mailto: With Email Address</Hyperlink>
<Hyperlink NavigateUri="mailto:username@domainname?subject=SubjectText">mailto: With Email Address and Subject</Hyperlink>
<Hyperlink NavigateUri="mailto:username@domainname?subject=SubjectText&amp;body=BodyText">mailto: With Email Address, Subject, and Body</Hyperlink>

Ayrıca bkz.

Kavramlar

WPF İçinde URI'leri Paketleme