title: Call to getEmbeddedObjects(); (Domino Server API) returns wrong results
body: <p>The Domino server <code>API getEmbeddedObjects();</code> returns the wrong result (zero) when a mail containing an attachment (as embedded object) is sent from the script. 
  Though an attachment is sent as an <code>EmbeddedOBject</code>, <code>getEmbeddedObjects();</code> returns <code>ZERO</code>.
  The mail type is <code>NOT MIME</code>.</p>
  
  <p>This is a Java application. Is there is any workaround for this problem?</p>
  
  <p>I take the body from the document. If the body is of richtextitem, I call the getEmbeddedObjects() which returns zero though an attachment is present as embedded object. </p>