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


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


<xsl:value-of select="umbraco.library:SendMail('', '', '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:

        <network host="" userName="user" password="secret" />

If something goes wrong it gets logged in the umbraco error log is the community mothership for Umbraco, the open source 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.1