The
RadSocialShare control offers the ability to send the link,
provided in the
UrlToShare property, via an E-mail, not just to
the social networks. The easiest way to do so is by using the
MailTo
button - it triggers the system's default mail client - for example MS Outlook,
Outlook Express, etc. To add this functionality you need:
<
telerik:RadSocialButton
SocialNetType
=
"MailTo"
/>
This RadSocialShare has only one button defined - the MailTo
button. A click will trigger your system's mail client.
There is also another option - by using the built-in E-mail form. It requires the
developer to have an SMTP server that should be used for the purpose. It is triggered
via:
<
telerik:RadSocialButton
SocialNetType
=
"SendEmail"
/>
This RadSocialShare has only the SendEmail button.
A click will trigger the built-in Send E-mail form. The EmailSettings
inner property is used for configuration.
Note that the SendMail functionality requires an SMTP server set
up and will not work in this demo as there is none declared for security reasons
as the whole markup is visible and will expose this sensitive information. The minimum
settings to make it work are SMTPServer and FromEmail
(this can be a fake email address but in valid form which will be pointed in the
On Behalf Of feature).