<%@ page session="false" buffer="none" import="java.util.*,org.opencms.frontend.templateone.*" %><%--

--%><jsp:useBean id="cms" class="org.opencms.frontend.templateone.CmsTemplateFormLetter" scope="request"><%--
--%><jsp:setProperty name="cms" property="*"/><%--
--%></jsp:useBean><%

// initialise Cms Action Element
cms.init(pageContext, request, response);

if (cms.isSubmitted() && cms.validate()) {
	// send email(s) and display confirmation
	cms.include("letter_confirm.html");
	cms.sendMail();
} else {
	// create the input form
	cms.include("letter_input.html");
}

%>