<%@ page language="java" import="java.io.*" isErrorPage="true" contentType="text/html;charset=UTF-8"%>
<%@ include file="../demoUtil.jsp" %>

<html>
<% String errorMsg = exception.getMessage();
   if(errorMsg.indexOf("your-smtp-host-please-change") >= 0) {
%>
<b><font color="red">
Error:please modify the host name in the source file "sendmail.jsp" by replacing the value of "your-smtp-host-please-change" 
</font></b>
<% }else {
%>
Error: <%= util.HTMLReplace(errorMsg) %>
<%}%>
</html>
