<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>How to use CmsMail?</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Check registy.xml in WEB-INF/config directory and
fill correctly required tags.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Best regards, Ivan.</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=dny@sdcgrp.com href="mailto:dny@sdcgrp.com">Nguyen La Yen Dung</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=opencms-dev@opencms.org
href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, August 15, 2003 8:47
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [opencms-dev] How to use
CmsMail?</DIV>
<DIV><BR></DIV><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></BLOCKQUOTE></BODY></HTML>