"Body-Contains" limit

Hi,
I can't find this documented anywhere, but I am thinking there is a maximum number associated with the number of matches that can be counted with the 'body-contains' rule, for example;
body-contains("someword",1000) - works just fine
...but using say a count of 10,000 (a lot, I know!) does not.
[EDIT : I figured this out, 10,000 works fine! Apologies for the hasty post]
<Snip>
Thanks guys!
Chris.

i can't find it documented anywhere. but it sounds like a bad idea... content filters (GUI) have form validation to restrict you from entering a value of > 1000 term matches. message filters (CLI) may lack similar data validation but it uses more or less the same scanning capabilities so there must be a resource consumption type reason to limit term matches to 1000. i've only ever seen someone use values from 1 through 10 in that field to be honest.
if you do decide to use that in production - let us know what happens.
andrew

Similar Messages

  • Sending email  with message body contain data  in table   displayed in one

    Hi,
    I have one jsp page where I am dispalying the table data retrieved fron database.
    Now i am trying to send this table as message body of the mail to the user.I am doing same stuff last from six days but unable to send such data.
    Please help me Sir,as i am newbie here.
    Here is an jsp page.
        Document   : evaluationeventtable
        Created on : Jul 24, 2008, 6:52:37 PM
        Author     : user1
    --%>
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <%@ page language ="java" %>
    <%@ page import="java.sql.*, javax.sql.*, javax.naming.*,java.io.*,java.util.*" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>IGIDR</title>
            <link rel="stylesheet" href="../styles/styles.css" type="text/css">
        </head>
        <body>
             <table width="100%" cellspacing="0" cellpadding="0" border="0">
    <tr>
    <td><%@ include file="/includes/logohead.jsp" %></td>
    </tr>
    <tr><td><%@ include file="/toplinks.jsp"%></td></tr>
    <tr>
    <td width="100%" valign="top">
    <table width="100%" cellspacing="0" cellpadding="0" border="1" borderColor=#000066>
        <tr>
    <td width="80%"> 
        <%  int QNO;
             String message=null;
             //String message1=null;
             //String message2=null;
             String noA,noB,noC,noD;                
            String ID=request.getParameter("id");       
            String EVENTID=request.getParameter("event");       
            Connection connection = null;
            Statement st = null;
            Statement st1 = null;
            Statement st2 = null;
            Statement st3 = null;
            Statement st4 = null;
            Statement st5 = null;
            ResultSet rs= null;
            ResultSet rs1= null;
            ResultSet rs2= null;
            ResultSet rs3= null;
            ResultSet rs4= null;
            ResultSet rs5= null;
            Class.forName("com.mysql.jdbc.Driver");
            Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/mynewdatabase","root", "root123");
                           st=con.createStatement();
                    try  {              
                      rs = st.executeQuery("SELECT * FROM Questionbank where Questionid='"+ID+"'");
                   %>
                <table border="1" cellpadding="2" cellspacing="3" bgcolor="#E6E6FA" align="center"><tr><th>Questions</th><th>A</th><th>B</th><th>C</th><th>D</th></tr>
                 <%  message="<table border=1 cellpadding=2 cellspacing=3 bgcolor=#E6E6FA align=center><tr><th>Questions</th><th>A</th><th>B</th><th>C</th><th>D</th></tr>";%>
                   <%
                  while ( rs.next() )
                            //String NO=rs.getString("Qserialno");
                            //session.setAttribute("no",NO);
                            //String NAME=rs.getString("questionname");
                            //session.setAttribute("name",NAME);                                    
                       %>
                       <tr><td><%=rs.getString("Qserialno") + "." + rs.getString("questionname")%></td>
                       <%
                        message=message+"<tr><td>"+rs.getString("Qserialno") + "." + rs.getString("questionname")+"</td>";
                       st1=con.createStatement(); 
                       try
                          rs1=st1.executeQuery("select count(*) as total  from final where questionid='"+ID+"'and Eventid='"+EVENTID+"'and Qserialno='"+rs.getString("Qserialno")+"'and Answer='A'");
                         rs1.next();
                         noA=rs1.getString("total");
                         session.setAttribute("NOA",noA);
                          rs1=st1.executeQuery("select count(*)  as total from final where questionid='"+ID+"'and Eventid='"+EVENTID+"'and Qserialno='"+rs.getString("Qserialno")+"'and Answer='B'");
                       rs1.next();
                         noB=rs1.getString("total");
                         session.setAttribute("NOB",noB);
                          rs1=st1.executeQuery("select count(*) as total  from final where questionid='"+ID+"'and Eventid='"+EVENTID+"'and Qserialno='"+rs.getString("Qserialno")+"'and Answer='C'");
                        rs1.next();
                         noC=rs1.getString("total");
                         session.setAttribute("NOC",noC);
                          rs1=st1.executeQuery("select count(*) as total  from final where questionid='"+ID+"'and Eventid='"+EVENTID+"'and Qserialno='"+rs.getString("Qserialno")+"'and Answer='D'");
                          rs1.next();
                         noD=rs1.getString("total");                   
                         session.setAttribute("NOD",noD);
                         message=message+"<td>"+noA+"</td><td>"+noB+"</td><td>"+noC+"</td><td>"+noD+"</td></tr></table>";
                         %>                     
                     <td><%=noA%></td><td><%=noB%></td><td><%=noC%></td><td><%=noD%></td></tr>
                   <%        
                         } finally
                               if (rs1 != null)
                                   rs1.close();
                                   rs1 = null;
                               } if (st1 != null)
                                   st1.close();
                                   st1 = null;
                                       finally
                               if (rs != null)
                                   rs.close();
                                   rs = null;
                               if (st != null)
                                   st.close();
                                   st = null;
                                   con.close();
                      %></table>   
                      <table align="center" width="50%" cellspacing="0" cellpadding="0" border="1" borderColor=#D2691E>
                      <form name="sendmail" action="/student/servletmail" method="POST">
                       <tr class="CellColor">
              <td>To</td>
              <td class="CellColor" width="1%">
              </td>
              <td class="CellColor">
                   <input type="text" name="to" size="25" value="">
              </td>
                    <td>From</td>
              <td class="CellColor" width="1%">
              </td>
              <td class="CellColor">
                   <input type="text" name="from" size="25" value="">
              </td>
         </tr>
            <input type="hidden" name="message" value="<%=message%>">
            <tr class="CellColor">
              <td class="CellColor" colspan="9" align="center">
                   <input type="submit" name="tn1" value="Send" >
              </td>
         </tr>   
      </form></table></td></tr></table>
                  </table>
                         </body></html>    And here is an servlet where i am trying to send the mail
    package com.student.igidr.test;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import javax.mail.*;
    import javax.mail.event.*;
    import javax.mail.internet.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    * @author user1
    public class servletmail extends HttpServlet
            public  void doPost(HttpServletRequest request,HttpServletResponse response)
                                      throws ServletException, IOException
            PrintWriter out=response.getWriter();
            response.setContentType("text/html");
            try
               Properties props=new Properties();
               props.put("mail.smtp.host","webmail.igidr.ac.in");   //  'localhost' for testing
       Session   session1  =  Session.getDefaultInstance(props,null);
               String s1 = request.getParameter("to");
               String s2 = request.getParameter("from");
               //String s3 = request.getParameter("sub");
               String s4 = request.getParameter("message");
              // out.println(s4);
         Message message =new MimeMessage(session1);
         message.setFrom(new InternetAddress(s2));
          message.setRecipients
                 (Message.RecipientType.TO,InternetAddress.parse(s1,false));
              // message.setSubject(s3);
               message.setText(s4);       
              message.setContent(s4,"text/html");
               Transport.send(message);
               out.println("mail has been sent");
            catch(Exception ex)
               System.out.println("ERROR....."+ex);
    }I am using the message variable to send the message also as input variable in servlet.
    Whether it is write Way to represent hole table body into message variable in jsp page.
    Please help me.
    Thanks and Regards
    haresh
    Edited by: HARSHAL_GURAV on Aug 13, 2008 11:15 PM
    Edited by: HARSHAL_GURAV on Aug 13, 2008 11:56 PM

    Hi bshannon ,
    Thanks you very much for your reply.
    I am trying to send html formated mail to the user.
    The message body contains the table that is displayed in above jsp page as:
    <table border="1" cellpadding="2" cellspacing="3" bgcolor="#E6E6FA" align="center"><tr><th>Questions</th><th>A</th><th>B</th><th>C</th><th>D</th></tr>
    <tr><td><%=rs.getString("Qserialno") + "." + rs.getString("questionname")%></td>
    <td><%=noA%></td><td><%=noB%></td><td><%=noC%></td><td><%=noD%></td></tr>In above code I am displaying the data from table i jsp page in table format. The data is related to analysis of particular event and i am trying to send this data as message body of the email.
    As table displayed in html form can you assist me in how to send html data?
    I am using variable message to store all this table data .
    <%  message="<table border=1 cellpadding=2 cellspacing=3 bgcolor=#E6E6FA align=center><tr><th>Questions</th><th>A</th><th>B</th><th>C</th><th>D</th></tr>";%>
    message=message+"<tr><td>"+rs.getString("Qserialno") + "." + rs.getString("questionname")+"</td>";
      message=message+"<td>"+noA+"</td><td>"+noB+"</td><td>"+noC+"</td><td>"+noD+"</td></tr></table>";i am sending this variable through form.At servlet I am retrieving it like:
    String s1 = request.getParameter("to");
               String s2 = request.getParameter("from");
               //String s3 = request.getParameter("sub");
               *String s4 = request.getParameter("message");*Will this possible ?
    Please help meas i am troubling same with last from 7-8 days.
    I had gone through Faqs but unable to collect required information.
    Thanks and Regards
    Haresh
    Edited by: HARSHAL_GURAV on Aug 15, 2008 9:22 PM

  • What happened to "body" "contains" in filters?

    I have several filters that have "body" and "contains" that have stopped working. Opening these existing, and previously working, filters in edit shows the words "body" greyed out. Clicking OK I receive the message "This filter cannot be saved because the search term "Body contains" is invalid in the current context." What context?

    I have several pre existing filters that have stopped working. These filters are used to separate incoming messages from a single sender into separate sub folders based on data in the body of the message.
    When I open these pre existing filters the words “body” and “contains” are grayed out. Clicking OK I receive the error message “This filter cannot be saved because the search term “Body contains” is invalid in the current context.”
    Trying to create a new filter the drop down options no long contains the option “body.”
    What context and why has the option “body” no longer available?

  • Content frame body container template issue

    Dears,
    I use region template Content frame body container it's a parent region ,  and i use another child region hide and show template , and i have text item like item_1 , item_2 , the problem i want to make item_2 in grid layout  Start New Row = no
    but the item_2 item not be in the same row with item_1 ?
    why ? and how can solve this problem ?
    Thanks

    Anyone?

  • Disclaimer for several languages / body-contains('DISCLAIMER

    Hy,
    i found out how to add disclaimers and check if there already added in further mail-transfer.
    We habe more than 30 branches of which nearly everyone has its own disclaimer.
    Now the question:
    Is it possible to use add the body-contains-expression a form of variable like in the add-footer-expression?
    For example:
    if (recv-listener == 'OutboundMail' AND (body-contains(disclaimer_DE'))
    { deliver();}
    else
    {add-footer('disclaimer_DE'); }
    In more detail: I don't want to copy for each of the 30 branches the whole text into the body-contains-expression but only the disclaimer-name like in the add-footer-expression.
    Is it possible to do it like that?

    hi,
    we have solved this with ldap groups...
    so when sender in ldap group "germany" then stamp disclaimer "germany" when sender in group "italy" then ... etc.
    works pretty well
    but you have to combine this with the text / HTML decision an this is a bit tricky but okay.
    regards,
    Rob

  • What does "The message body contains Vs" mean?

    I'm trying to post a message.

    Thanks. It took me a while to figure out what the message "The message body contains V(no space)s" meant. I thought "V(no space)s" was an abbreviation for some special computer term (I tried Googling it) or a misspelling in the message. It may help to change the message to read something like  "The message body contains the text V(no space)s. Please remove the text V(no space)s from the  message body." 

  • Container Limit!!

    I have a problem with oracle application server. When I want to create a new OC4J instance there is no problem but when i want to deploy a new application to this instance, the system gives errors. I suppose that the source of the error is the number of containers (or the applications). But I could not find any place where it is defined. Is there any real place where we can adjust the number of containers on an app. server?

    the error message is :
    ADMN-100992
    Changes cannot be saved to disk due to an environmental problem.
    Base Exception:
    oracle.ias.sysmgmt.exception.InvalidConfigurationException:Configuration changes prevented server startup. /app/oracle/product/ias//Apache//Apache//bin//apachectl: line 1: 31869 Segmentation fault /app/oracle/product/ias/Apache/Apache/bin/httpd -d /app/oracle/product/ias/Apache/Apache -t "-f" "/app/oracle/product/ias/Apache/Apache/conf/httpd.conf.ohsPluginTmp" "-D" "SSL"
    Resolution: Please make sure the values entered in OHS configuration files are correct.
    Transaction failed.
    oracle.ias.sysmgmt.exception.InvalidConfigurationException: Configuration changes prevented server startup. /app/oracle/product/ias//Apache//Apache//bin//apachectl: line 1: 31869 Segmentation fault /app/oracle/product/ias/Apache/Apache/bin/httpd -d /app/oracle/product/ias/Apache/Apache -t "-f" "/app/oracle/product/ias/Apache/Apache/conf/httpd.conf.ohsPluginTmp" "-D" "SSL"
    Resolution: Please make sure the values entered in OHS configuration files are correct.
    at oracle.ias.sysmgmt.repository.plugin.advanced.apache.StateTranslator.checkConfigFileValidity(Unknown Source)
    at oracle.ias.sysmgmt.repository.plugin.advanced.apache.StateTranslator.validateConfigDuringEvaluate(Unknown Source)
    at oracle.ias.sysmgmt.repository.plugin.advanced.apache.PlugInImpl.localConfigValidation(Unknown Source)
    at oracle.ias.sysmgmt.repository.RepositoryImpl.performLocalValidation(Unknown Source)
    at oracle.ias.sysmgmt.repository.DomManagerCollection.saveToPersistence(Unknown Source)
    at oracle.ias.sysmgmt.repository.RepositoryImpl.saveToPersistence(Unknown Source)
    at oracle.ias.sysmgmt.configsvc.NormalConfigurationHandlerImpl.evaluate(Unknown Source)
    at oracle.ias.sysmgmt.configsvc.ConfigurationServiceImpl.evaluate(Unknown Source)
    at oracle.ias.sysmgmt.configsvc.ConfigurationServiceImpl.evaluate(Unknown Source)
    at oracle.ias.sysmgmt.deployment.DeploymentSession.evaluate(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.adapter.SmiChangeManager.triggerSmiChanges(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.doEvaluateDeploy(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.evaluate(Unknown Source)
    at oracle.ias.sysmgmt.task.TaskMaster.sync_evaluate(Unknown Source)
    at oracle.ias.sysmgmt.task.TaskMaster.internal_evaluate(Unknown Source)
    at oracle.ias.sysmgmt.task.RemoteEvaluate.execCommand(Unknown Source)
    at oracle.ias.sysmgmt.task.DaemonWorker.run(Unknown Source)

  • How to limit number of sessions for an Application

    Hi,
    I have an ASO application running on Essbase 7.1.5 version.
    This Essbase cube is widely used by the BO ( business objects ) Web I services for retrieving data in there Dash Boards.
    No I want to restrict number of sessions on this application. We have SERVERTHREADS through which we can set limit on application wise.
    SERVERTHREADS [application] 20;
    When I set this in the Essbase config file on this server and bounce the Essbase services. Will this really help me in limiting the session till 20 for this application . I see we can set minimum 20 and maximum 500 using server threads.
    What will happen to the session which excceds 20. will they be kept in queue ?.
    Pls let me know if this work. Else pls suggest me the best one.
    Some information for you – in the Essbase ->properties->statistics-> I see Ports Available are 65531
    Thanks
    MS

    HI,
    1. SERVERTHREADS does not contain/limit the count of sessions one can have .
    2. Count of ports will help you decide what is the default SERVERTHREAD count , in your case its 20.
    3. the count 20 signifies the number of threads which a transaction can use ( here threads are nothing by the operating system level threads, to do with the processes and processor).
    4. If you have multiple transactions and you want to improve the performance of them ( in case of slow response or so). You can increase the thread count , to make more threads work for your transactions. Again , this does not limit the count of sessions .
    5. I did not understand the obejctive behind limiting the sessions and avoiding users from accessing . I think , this defeats the whole purpose of having cubes then. You have many cubes ,and huge number of users who pull data and essbase and its kernel are capable of handling this . If you still want to restrcit, might as well set their security ( by letting them not to access cubes).
    Hope this adds value
    Sandeep Reddy Enti
    HCC
    http://hyperionconsultancy.com/

  • Attach pdf to email and use text from field in body

    I'm looking to create a fillable form with a 'submit' button at the bottom.  Upon clicking the submit button, I would like an e-mail window to open with a pre-defined recipient, and the pdf attached.  I've found code to accomplish this using this.mailDoc()
    However:
    I'm also hoping to get the text from the "Name" field of my form and use it in the body of the e-mail.
    I've found the following code in another post, which appears to work for this:
    var cClientName = this.getField("ClientName").value;
    var cAddress = this.getField("Address").value;
    var cBody = "Client Information:\n\n";
    cBody += "Client Name: " + cClientName + "\n";
    cBody += "Address: " + cAddress + "\n";
    var myURL = "mailto:[email protected]?subject=Client Info&body=";
    myURL += cBody;
    app.launchURL(myURL, true);
    That will open an e-mail window with a body containing the data from AcroForm fields named "ClientName" and "Address".
    The problem is, that this code will not attach the pdf.
    How can I get the best of both worlds?
    Thanks!

    You don't need launchURL to achieve that. mailDoc is capable of setting the
    subject line, email body, recipients lists, etc.
    See this tutorial for a detailed explanation:
    http://acrobatusers.com/tutorials/dynamically-setting-submit-e-mail-address

  • Main Wrapper, Container and background-image repeat problem-and Footer :-)

    Hi everyone,
    First off, i tried almost every idea i could get to solve this on my own but now im...aaa...
    Well, the problem is i have a main wrapper with a background image repeat. A header,menu, body container - which has a left column and right column. I want that main wrapper,body container and both of the columns to grow auto according to content. I tried the height:100%. When i float the columns the text from left column spills over on to the footer. The left column also does not autogrow towards the footer?! I was able to set the footer at the bottom which i want it to remain at the bottom of the main wrapper, but the main wrapper and the columns do not grow automatically...I guess it has something to do with float and the clear properties but what???
    body{
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-style: normal;
    font-size: 11px;
    font-family: verdana;
    text-align: center;
    background:url(back_index3.png) repeat-x scroll 0 0 #E4E4E4;
    #main_wrapper {
    width: 959px;
    margin:0 auto;
    margin-top:80px;
    background:url(backslice.png) repeat-y;
    height:auto;
    min-height:800px;
    #header {
    width: 959px;
    margin-left: auto;
    margin-right: auto;
    height:119px;
    background:red;
    padding-top: 0px;
    padding-bottom: 0px;
    #topmenu {
    background-color:#blue;
    height:30px;
    margin:0px;
    width: 959px;
    margin-left: auto;
    margin-right: auto;
    #body_container {
    height:100%;
    width: 949px;
    margin: 0 auto;
    #content {
    float:left;
    width: 645px;
    background:yellow;
    border-right:1px solid #ffffff;
    padding:10px;
    height:100%;
    text-align:left;
    #sidebar {
    float:left;
    width: 283px;
    background:#234234;
    height:100%;
    #footer {
    clear:both;
    height:200px;
    background-color: #686768;
    margin:0 auto;
    border-top: 1px solid #F6F6F6;
    text-align:center;
    width: 100%;
    <html xmlns="">
    <head>
    <title>title</title>
    <link rel="stylesheet" type="text/css" href="3css.css" />
    <meta http-equiv="content-type" content="text/html" />
    </head>
    <body>
    <div id="main_wrapper">
         <div id="header">
          <span id="header_logo">title</span>
         </div>
         <div id="topmenu">
         menu
         </div>
         <div id="body_container">
          <div id="content">
    content to be added
          </div>
          <div id="sidebar">
          hallow2
          </div>
         </div>
    </div>
    <div id="footer">
    asd
    </div>
    </body>
    </html>
    Thanks in advance if somebody can help me out here.
    you can see an image of the problem in the attachement down thr... thnx

    <html xmlns="">
    <head>
    <title>title</title>
    <link rel="stylesheet" type="text/css" href="3css.css" />
    <meta http-equiv="content-type" content="text/html" />
    </head>
    <body>
    <div id="main_wrapper">
         <div id="header">
          <span id="header_logo">title</span>
         </div>
         <div id="topmenu">
         menu
         </div>
         <div id="body_container">
          <div id="content">
    content to be added
          </div>
          <div id="sidebar">
          hallow2
          </div>
         </div>
    </div>
    <br clear="all" />
    <div id="footer">
    asd
    </div>
    </body>
    </html>
    Hope this will work well

  • How to put smartform in mail body

    Hi colleagues,
    I would like to send a mail with content build from a SMARTFORM.  I call the smartform function module and get the corresponding OTF file,  but I did not succeed to put it in a readable way in the mail body.
    How ot get the smartform as mail body?
    My body contains this kind of data, if I do the conversion to PDF:
    ═䑆ⴱ⸳ഊ◢팍ਲu2030扪ഊ⽗楮䅮獩䕮捯摩湧ഊ敮摯扪ഊ㌠〠潢樍਼㰍ਥ䑥癴祰攠南䥎u2020u2020⁆潮琠䍏啒䥅删潲浡氠䱡湧⁅不ਯ呹灥 䙯湴ഊ⽓畢瑹灥 呹灥ㄍਯ䉡獥䙯湴 䍯畲楥爍ਯ乡浥 䘰〱ഊ⽅湣潤楮朠㈠〠刍ਾ㸍੥湤潢樍਴u2030扪ഊ㰼ഊ⽌敮杴栠㔠〠刍ਾ㸍ੳ瑲敡洍ਠ⽆〰ㄠㄲ⸰〠呦u2030⁧⁂吠
    㜰⸸㔠㜵㤮
    and the pdf itself (I also try to attached it to the mail for test) cannot be open.
    I already check a lot of thread, but cannot find any to solve this issue.
    Thanks for your help.
    Barbara

    Hi,
    Refer to this link..Send an smartform as body of a mail

  • Search message body returns empty

    I have deleted global-messages-db.sqlite and re-indexed my mail.
    It is an imap account.
    I have "Search subfolders" and "Run search on server" checked.
    I get empty results when searching (Body: Contains: "my search query")
    I am searching for text that I know is in the body of email messages.
    I have even opened up an email, copied the text and pasted it and get no results.
    Thunderbird 24.4.0
    Windows XP

    Yes. it is synchronized.
    Ctrl+Shift+F to open the Search Messages.
    Then for the criteria a I select {Body: Contains: "type in what i'm looking for"}
    I have tried - Search for messages in:
    root of the email account; Inbox; Sent; but I get no returns.
    Again I have the "Search subfolders and Run search on server" checked
    I get results returned when I do a search in the subject line
    {Subject: Contains: "type in what i'm looking for"}
    After trying many message body searches, I have just gotten a partial search return, but it is only emails that are replies with the original email quoted in them. The search does not return all messages containing this text nor the original sent email.

  • Problems with body email using Email Event Generator

    Hi I need to start a workflow when an email is received by a email account. In
    order to do that, I built a Email Event Generator that uses the next channel:
    <?xml version="1.0"?>
    <channels xmlns="http://www.bea.com/wli/broker/channelfile"
              channelPrefix="/cgr"
              xmlns:eg="http://www.bea.com/wli/eventGenerator"
              xmlns:dp="http://www.bea.com/wli/control/dynamicProperties"
              xmlns:oagpo="http://www.openapplications.org/003_process_po_007">
         <channel name ="Rendicion" messageType="none">
              <channel name ="RendicionEmail" messageType="xml"
              qualifiedMessageType="oagpo:PROCESS_PO_007"
              qualifiedMetadataType="eg:EmailEventGenerator"/>
         </channel>
    </channels>
    I'm using "Suscribe to a Message Broker" oprtion to start my work flow. That option
    uses two input variables: com.bea.xml.XmlObject and com.bea.wli.eventGenerator.EmailEventGeneratorDocument.
    * @jpd:mb-static-subscription message-metadata="{x1}" message-body="{x0}"
    channel-name="/cgr/Rendicion/RendicionEmail"
    public void subscription(com.bea.xml.XmlObject x0, com.bea.wli.eventGenerator.EmailEventGeneratorDocument
    x1)
    //#START: CODE GENERATED - PROTECTED SECTION - you can safely add code
    above this comment in this method. #//
    // input transform
    // parameter assignment
    this.body = x0;
    this.emailXML = x1;
    //#END : CODE GENERATED - PROTECTED SECTION - you can safely add code
    below this comment in this method. #//
    That configuration only functions when the email has plain text body containing
    a xml structure. Other waise that error is showed by the server:
    <Oct 24, 2003 4:16:26 PM GMT-05:00> <Error> <WLI-Core> <BEA-530203> <Error while
    publishing message: com.bea.wli.mbconnector.
    MBConnMDBBase$MBConnectorException: Can't create process variable: com.bea.wli.mbconnector.MBConnMDBBase$MBConnectorException
    : Can't read XML (no root element)>
    <Oct 24, 2003 4:17:26 PM GMT-05:00> <Error> <WLW> <000000> <Error publishing email:
    com.bea.wli.mbconnector.MBConnMDBBase$MBC
    onnectorException: Can't create process variable: com.bea.xml.XmlException: error:
    Unexpected element: TAG_END>
    <Oct 24, 2003 4:17:26 PM GMT-05:00> <Error> <WLI-Core> <BEA-530203> <Error while
    publishing message: com.bea.wli.mbconnector.
    MBConnMDBBase$MBConnectorException: Can't create process variable: com.bea.xml.XmlException:
    error: Unexpected element: TAG_E
    ND>
    Is it a Bug?, or Is the configuration wrong?
    Thank you very much
    David

    I've got the same issue going on here... I also posted the problem to this newsgroup
    earlier today.... please check your log files or server output window to see if
    you're also getting the encoding error...
    "David Uribe" <[email protected]> wrote:
    >
    Hi I need to start a workflow when an email is received by a email account.
    In
    order to do that, I built a Email Event Generator that uses the next
    channel:
    <?xml version="1.0"?>
    <channels xmlns="http://www.bea.com/wli/broker/channelfile"
              channelPrefix="/cgr"
              xmlns:eg="http://www.bea.com/wli/eventGenerator"
              xmlns:dp="http://www.bea.com/wli/control/dynamicProperties"
              xmlns:oagpo="http://www.openapplications.org/003_process_po_007">
         <channel name ="Rendicion" messageType="none">
              <channel name ="RendicionEmail" messageType="xml"
              qualifiedMessageType="oagpo:PROCESS_PO_007"
              qualifiedMetadataType="eg:EmailEventGenerator"/>
         </channel>
    </channels>
    I'm using "Suscribe to a Message Broker" oprtion to start my work flow.
    That option
    uses two input variables: com.bea.xml.XmlObject and com.bea.wli.eventGenerator.EmailEventGeneratorDocument.
    * @jpd:mb-static-subscription message-metadata="{x1}" message-body="{x0}"
    channel-name="/cgr/Rendicion/RendicionEmail"
    public void subscription(com.bea.xml.XmlObject x0, com.bea.wli.eventGenerator.EmailEventGeneratorDocument
    x1)
    //#START: CODE GENERATED - PROTECTED SECTION - you can safely
    add code
    above this comment in this method. #//
    // input transform
    // parameter assignment
    this.body = x0;
    this.emailXML = x1;
    //#END : CODE GENERATED - PROTECTED SECTION - you can safely
    add code
    below this comment in this method. #//
    That configuration only functions when the email has plain text body
    containing
    a xml structure. Other waise that error is showed by the server:
    <Oct 24, 2003 4:16:26 PM GMT-05:00> <Error> <WLI-Core> <BEA-530203> <Error
    while
    publishing message: com.bea.wli.mbconnector.
    MBConnMDBBase$MBConnectorException: Can't create process variable: com.bea.wli.mbconnector.MBConnMDBBase$MBConnectorException
    : Can't read XML (no root element)>
    <Oct 24, 2003 4:17:26 PM GMT-05:00> <Error> <WLW> <000000> <Error publishing
    email:
    com.bea.wli.mbconnector.MBConnMDBBase$MBC
    onnectorException: Can't create process variable: com.bea.xml.XmlException:
    error:
    Unexpected element: TAG_END>
    <Oct 24, 2003 4:17:26 PM GMT-05:00> <Error> <WLI-Core> <BEA-530203> <Error
    while
    publishing message: com.bea.wli.mbconnector.
    MBConnMDBBase$MBConnectorException: Can't create process variable: com.bea.xml.XmlException:
    error: Unexpected element: TAG_E
    ND>
    Is it a Bug?, or Is the configuration wrong?
    Thank you very much
    David

  • Flash form to email not loading message body

    I'm creating a form in Flash for a client's website to make
    online reservations. I've been experimenting with asp scripts and
    found two that work fine, except that the body of the email won't
    load. The emails come through fine, but blank.
    Since it's the same with both asp scripts I suspect the prob
    is in the AS but I've been looking at this and tweaking and
    experimenting for four days now. Any help will be appreciated.
    Here's one of the asp scripts:
    <%
    strToEmail = "[email protected]"
    strToName = "Gerry Mooney"
    strToSubject = "LPReservation Request-tomailscript"
    Set Mailer = Server.CreateObject("CDO.Message")
    'Mailer.RemoteHost = "mail.yourdomain.com"
    strName = Request.form("name")
    strEmail = Request.form("fromEmail_txt")
    strMesg = Request.form("firmName_txt")
    strBody = strMesg
    'Mailer.FromName = strName
    Mailer.FromAddress = strEmail
    'Mailer.AddRecipient strToName, strToEmail
    Mailer.Subject = (strToSubject)
    Mailer.BodyText = strMesg
    if Mailer.SendMail then
    Response.Write "_root.status_txt.text=Your message has been
    sent. Thank you."
    else
    Response.Write "_root.status_txt.text=Error: Fail to sent
    your message."
    Response.Write Mailer.Response
    end if
    %>
    And here's the AS:
    var email_lv:LoadVars = new LoadVars();
    //this function is called when email_lv loads the server-side
    script.
    email_lv.onLoad = function(success) {
    //If the script was successfully loaded, this condition is
    run
    if (success) {
    /* Though the server-side script was loaded, it does not
    mean it was
    executed successfully. This condition gets a response from
    the
    server-side script and determines if it was truly
    successful. */
    if (this.server_mes == "ok") {
    status_txt.text = "Email Sent";
    /* You can add additional code here. This is only run
    if everything went as planned. */
    } else {
    //email failed to send, but script did load. Likely a server
    issue.
    status_txt.text = "Email Failed";
    /*This is the onRelease function for "submit_btn" button.
    This is only run
    if the button was pressed. */
    submit_btn.onRelease = function() {
    /* Here we are validating the data. This insures the email
    address contains
    both the "@" and ".", If not, it stops the script and alerts
    the user. */
    if (!fromEmail_txt.length || fromEmail_txt.indexOf("@") ==
    -1 || fromEmail_txt.indexOf(".") == -1) {
    status_txt.text = "Invalid Email";
    //This validates the subject line contains text
    } else if (!subject_txt.length) {
    status_txt.text = "Missing Subject";
    //This validates the message body contains text
    } else if (!firmName_txt.length) {
    status_txt.text = "Missing Firm Name";
    //This validates the check in date
    } else if (!checkIn_txt.length) {
    status_txt.text = "Missing Check-in Date";
    //If everything is filled out correctly, this is run.
    } else {
    //Collects the data from the text boxes and gives it to
    email_lv
    email_lv.fromEmail_txt = fromEmail_txt.text;
    email_lv.subject_txt = subject_txt.text;
    email_lv.firmName_txt = firmName_txt.text;
    email_lv.checkIn_txt = checkIn_txt.text;
    /* Finally, send the data to the server and get a response.
    As mentioned above, serverlang holds the file extendion for
    the server side language. You can hard code the complete
    file name. */
    email_lv.sendAndLoad("tomail_mytest.asp", email_lv, "POST");
    Any suggestions will be appreciated. Thanks!

    More Information:
    --Deleted EAS account
    --Then did a Palm Backup
    --Then did a Partial Erase
    --Then (re) Add the EAS account
    --Then it synchronized
    --Now I can see the message body for "High Priority" emails but not any others...
    Suggestions?  Help?  Thank you.

  • HTTPService POST sends header and body separately

    I'm having a performance issue with XML-RPC via the
    HTTPService component. The HTTPService.send() sends the request in
    two parts: first the headers, then the body. Evidently, the server
    get the headers, times out, sends an ACK, and then HTTPService
    sends the body, resulting in very poor performance. Here's the
    timeline, from the client's view:
    Time = 0.000000 - POST Partial Message Headers
    Time = 0.108784 - ACK for POST Partial Message Headers
    received (TCP ACK Packet)
    Time = 0.108824 - POST Completion of Message Headers +
    Message Body (contains XML-RPC method)
    Time = 0.110257 - Response received (containing XML-RPC
    methodResponse)
    Time = 0.359815 - ACK for Response (TCP ACK Packet)
    Yep, 108ms wasted waiting for an ACK for the headers!
    The question is, is there any way to cause the headers and
    body to be sent together? Otherwise, I'll have to look at using
    Sockets...
    Thanks, JohnB

    Well, I solved my performance problem by using XMLSocket,
    instead of HTTPService - a shame, since HTTPService is more
    appropriate.
    Question: how do I determine whether Adobe knows about this
    issue, and whether they care?

Maybe you are looking for

  • Journal payment to Vendor (Account payable)

    Hi, I'd like to know the transaction to view the reports "Journal payment to Vendor Account" and "Journal receipt to Vendor Account". Thanks a lot!

  • Query execution taking longer time in Oracle form 10g !!

    Hi, I'm generating a report through Oracle form ( forms 10g) and its taking 3-4 hours to finish. But when I run the same report query in (Oracle 11g) database, it gets executed in less than 40 mins. The form takes only from and to date as input. I tr

  • Duplicate Contact Overload

    For some reason, my contacts list has exploded.  I have one phone number in my contact list over 1,000 times.  In all, I have 22,348 contacts in my phone.  Clearly, there is something wrong!  How can I delete the duplicates quickly?

  • Proxy/Provider Portlets on multiple Portal Server Instances

    Hello All, I would like to the Pros and Cons for the following architectural scenarios: Proxy Portlets and Provider Portlets on the same Portal Server Instance Vs Proxy Portlets and Provider Portlets on different Portal Server Instances Can some one

  • What is the Fieldpoint analog input interchannel skew time?

    I need to know what the interchannel skew is on Fieldpoint analog input modules because I need to aquire samples fairly close in time to one another simily to the typical MIO PC-based card. Also, I am wondering if the aquisitions can be externally tr