<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffcc" text="#000000">
Hello all,<br>
<br>
I use templateone.form for a sipmle mail form (OpenCMS 7.5). The form
contains the fields title (selectBox), name & email (text) and
message (textarea). When I send the form I get this error: "Error
description: Address List provided was invalid".<br>
The template-elements property of my form page is:<br>
/system/modules/org.opencms.frontend.templateone.form/pages/form.html<br>
<br>
I guess the error occurs in form.html on the method cms.sendMail():<br>
<br>
if (! showForm) {<br>
// form has been submitted with correct values, decide further
actions<br>
if (cms.showCheck()) {<br>
// show optional check page<br>
request.setAttribute("formhandler", cms);<br>
cms.include("../elements/check.jsp");<br>
} else if (cms.getFormConfiguration().hasTargetUri()) {<br>
response.sendRedirect(cms.link(cms.getFormConfiguration().getTargetUri()));<br>
} else {<br>
// try to send a notification email with the submitted form
field values<br>
<br>
if (cms.sendMail()) { // Errror?<br>
// successfully sent mail, show confirmation end page<br>
request.setAttribute("formhandler", cms);<br>
cms.include("../elements/confirmation.jsp");<br>
} else {<br>
// failure sending mail, show error output %><br>
<h3><%= messages.key("form.error.mail.headline")
%></h3><br>
<p><%= messages.key("form.error.mail.text")
%></p><br>
<br>
Error description: <%=
(String)cms.getErrors().get("sendmail") %><br>
<%<br>
}<br>
}<br>
<br>
<br>
Any idea?<br>
<br>
best regards,<br>
Oliver<br>
</body>
</html>