How can I get this email: <xsl:value-of select="umbraco.library:Request('email')" /> to be the fromemail? <xsl:value-of select="umbraco.library:SendMail(email, $toemail, 'Test',$mailbody, 0)"/> Can't get it to work ... ?
and by the way is there a framework/api or someting where I can lookup stuff :)
Regarding the framework/api, you can always pull down the source from Codeplex and dig around. These XSLT helper functions are in umbraco.presentation.library.cs
From email...api
How can I get this email:
<xsl:value-of select="umbraco.library:Request('email')" />
to be the fromemail?
<xsl:value-of select="umbraco.library:SendMail(email, $toemail, 'Test',$mailbody, 0)"/>
Can't get it to work ... ?
and by the way is there a framework/api or someting where I can lookup stuff :)
Hi,
You'd need to nest the Request function or store it in a variable, here are some examples:
or the slightly harder to read version:
Regarding the framework/api, you can always pull down the source from Codeplex and dig around. These XSLT helper functions are in umbraco.presentation.library.cs
HTH,
Tom
Great, thanks for the reply Tom.
I know my C#, but not umbraco yet ;)
is working on a reply...