SendEmailButton Class
Use the SendEmailButton control in Lync Control applications to launch the user's preferred email program and compose an email to a selected contact.
Namespace: Microsoft.Lync.Controls
Assembly: Microsoft.Lync.Controls (in Microsoft.Lync.Controls.dll)
Syntax
public class SendEmailButton : ContactButton
Remarks
The selected contact must have an email address exposed in order for this feature to work. Optionally, you can specify a subject for the email as well. The control is designed to mimic the functionality provided by the corresponding button on the Quick Connect toolbar of the ContactCard. As such, it must be bound to a contact using the Source property before it can be used. When clicked, it launches the Microsoft Outlook dialog to initiate the desired action with that contact. This button is not a general purpose Outlook Integration tool. It is intended to be used together with other Lync Controls to provide a full set of collaboration options for interacting with a specific contact or distribution group. Despite the fact that no Lync functionality is actually used here, this control leverages the binding model of the other Lync Controls to provide the full scope of features accessible on the ContactCard quick-connect toolbar.
Inheritance Hierarchy
System.Object
System.Windows.DependencyObject
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
Microsoft.Lync.Controls.UCBase
Microsoft.Lync.Controls.ContactBase
Microsoft.Lync.Controls.ContactButton
Microsoft.Lync.Controls.SendEmailButton