[opencms-dev] How to use CmsMail?

Nguyen La Yen Dung dny at sdcgrp.com
Fri Aug 15 09:28:02 CEST 2003


 Hi,
 
 Has anyone used CmsMail class successfully? Please help.

 Here is my jsp code, and no mail is issued.

<%
com.opencms.flex.jsp.CmsJspActionElement cms = new 
 
com.opencms.flex.jsp.CmsJspActionElement(pageContext, request, response);
com.opencms.file.CmsObject cmsObj = cms.getCmsObject();

CmsMail mail=new CmsMail(cmsObj, "dny at sdcgrp.com", "dny at sdcgrp.com",
"subject", "content", "text/plain");

mail.start();

%>

 Thanks,

 Yendung
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20030815/cfebd2c2/attachment.htm>


More information about the opencms-dev mailing list