mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-07 23:43:19 +02:00
* Reset branch for WPF changes * Convert BMP to PNG; fix link-out-of-scope err * Add snippets for WPF... 6794 files!!!! * Add missing snippets * update file updated between migration * Fix paths to include * update breadcrumb and toc * fix index links * fix index links * fix index links * fix markdown
21 lines
921 B
Markdown
21 lines
921 B
Markdown
---
|
|
title: "How to: Use mailto: to Send Mail From a Page"
|
|
ms.date: "03/30/2017"
|
|
helpviewer_keywords:
|
|
- "sending mail from pages with mailto:"
|
|
- "mailto:, sending mail from pages"
|
|
- "mail [WPF], sending from pages"
|
|
ms.assetid: b64b9518-df17-4232-94f2-455a4f77ee48
|
|
---
|
|
# How to: Use mailto: to Send Mail From a Page
|
|
This example shows how to use <xref:System.Windows.Documents.Hyperlink> in conjunction with a **mailto:** uniform resource identifier (URI).
|
|
|
|
## Example
|
|
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.
|
|
|
|
[!code-xaml[HOWTONavigationMailToSnippet#MailToMARKUP](~/samples/snippets/csharp/VS_Snippets_Wpf/HOWTONavigationMailToSnippet/CS/HomePage.xaml#mailtomarkup)]
|
|
|
|
## See also
|
|
|
|
- [Pack URIs in WPF](pack-uris-in-wpf.md)
|