Hiya, if anyone could offer some advice on this I’d be most grateful.
New to Umbraco and XSLT.
Trying to come up with a simple macro that sends an email with the currently logged-in member’s name as the body text (just that for now). SendMail works fine with a test string for the body, but it won’t work with any kind of variable instead, the email is always empty.
<xsl:variable name="member" select="umbraco.library:GetCurrentMember()" />
<xsl:variable name="name" select="$member/@nodeName" />
<xsl:value-of select="umbraco.library:SendMail(
'[email protected]',
'[email protected]',
'Email Subject Line',
$name,
'false'
)"/>
Any pointing in the right direction would be great!
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/64704-problems-with-xslt-sendmail-and-getcurrentmember