Created
October 19, 2011 20:15
-
-
Save roughcompass/1299534 to your computer and use it in GitHub Desktop.
Sample GEL script to send an email.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<gel:script | |
xmlns:gel="jelly:com.niku.union.gel.GELTagLibrary" | |
xmlns:jelly="jelly:core" | |
xmlns:mail="jelly:email"> | |
<!-- email vars --> | |
<jelly:set var="emailFrom" value="[email protected]" /> | |
<jelly:set var="emailTo" value="[email protected]" /> | |
<jelly:set var="emailServer" value="your.email.server.com" /> | |
<!-- send it --> | |
<mail:email | |
server="${emailServer}" | |
from="${emailFrom}" | |
to="${emailTo}" | |
subject="Hello"> | |
Hello World!!! | |
</mail:email> | |
</gel:script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment