[opencms-dev] How to use CmsMail?

Ivan Jelenic ivan.jelenic at nbs.yu
Fri Aug 15 09:45:02 CEST 2003


How to use CmsMail?Check registy.xml in WEB-INF/config directory and fill correctly required tags.

Best regards, Ivan.
  ----- Original Message ----- 
  From: Nguyen La Yen Dung 
  To: opencms-dev at opencms.org 
  Sent: Friday, August 15, 2003 8:47 AM
  Subject: [opencms-dev] How to use CmsMail?




   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/31ec8a53/attachment.htm>


More information about the opencms-dev mailing list