<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>How to use CmsMail?</TITLE>
</HEAD>
<BODY>
<BR>
<P><FONT SIZE=2> Hi,</FONT>
<BR><FONT SIZE=2> </FONT>
<BR><FONT SIZE=2> Has anyone used CmsMail class successfully? Please help.</FONT>
</P>
<P><FONT SIZE=2> Here is my jsp code, and no mail is issued.</FONT>
</P>
<P><FONT SIZE=2><%</FONT>
<BR><FONT SIZE=2>com.opencms.flex.jsp.CmsJspActionElement cms = new </FONT>
<BR><FONT SIZE=2> com.opencms.flex.jsp.CmsJspActionElement(pageContext, request, response);</FONT>
<BR><FONT SIZE=2>com.opencms.file.CmsObject cmsObj = cms.getCmsObject();</FONT>
</P>
<P><FONT SIZE=2>CmsMail mail=new CmsMail(cmsObj, "dny@sdcgrp.com", "dny@sdcgrp.com", "subject", "content", "text/plain");</FONT>
</P>
<P><FONT SIZE=2>mail.start();</FONT>
</P>
<P><FONT SIZE=2>%></FONT>
</P>
<P><FONT SIZE=2> Thanks,</FONT>
</P>
<P><FONT SIZE=2> Yendung</FONT>
</P>
</BODY>
</HTML>