How to send email by using Gel script? Need to use "CC" for email. Is there any sample code?
Following ways are available:
1. Using gel:email tag. Sample code is available in the documentation below.
2. Using the email:email tag
<gel:script
xmlns:core="jelly:core"
xmlns:gel="jelly:com.niku.union.gel.GELTagLibrary"
xmlns:email="jelly:email">
<email:email server="hostname" from="[email protected]" to="[email protected]" CC="[email protected]" subject="Sample email">
This is test email.
</email:email>
</gel:script>
Note: