06-01-2011 06:13 AM
<?xml version="1.0" encoding="UTF-8"?>
<webscript>
<shortname>Password reset</shortname>
<description>Reset mechanism for login passwords</description>
<url>/itanks/resetpassword?email={email}</url>
<authentication runas="admin">none</authentication>
<transaction>required</transaction>
</webscript>
Action act = getActionService().createAction(MailActionExecuter.NAME);
Map<String,Serializable> mailParameters = new HashMap<String,Serializable>();
mailParameters.put(MailActionExecuter.PARAM_TO, emailAddress);
mailParameters.put(MailActionExecuter.PARAM_FROM, emailFrom);
mailParameters.put(MailActionExecuter.PARAM_SUBJECT, emailSubject);
mailParameters.put("text", text);
act.addParameterValues(mailParameters);
act.setExecuteAsynchronously(true);
getActionService().executeAction(act, null);
06-03-2011 03:58 AM
06-07-2011 03:21 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.