The legacy wiki pages are here for reference purposes only.
For up-to-date information make sure to check the documentation section.

Parameters

SendMail(string FromMail, string ToMail, string Subject, string Body, boolean IsHtml)

Usage

<xsl:value-of select="umbraco.library:SendMail('from@email.com', 'to@email.com', 'Your Subject', 'Your e-mail message', 'false')"/>

This will send a raw text-email. If you want to send out a HTML e-mail the last parameter must be set to true.

Please note that you can't send out any e-mails if you have not written valid e-mail settings in the web.config.

They should look like this:

<system.net>
    <mailSettings>
      <smtp>
        <network host="127.0.0.1" userName="user" password="secret" />
      </smtp>
    </mailSettings>
  </system.net>

If something goes wrong it gets logged in the umbraco error log

Our.umbraco.org is the community mothership for Umbraco, the open source asp.net cms. With a friendly forum for all your questions, a comprehensive documentation and a ton of packages from the community. This site is running Umbraco version 7.3.0-RC