IBM Support

How to send an E-Mail with attachments taken from Process Area (SCI87048)

Question & Answer


Question

How to send an E-Mail with attachments taken from Process Area (SCI87048)

Cause

Answer

Install the latest patch for GIS 4.0.



The File System Adapter has to be customized. Here is a process sample:



<process name="AttachFromDocArea_Sample">
  <sequence name="Sequence Start">
    <operation name="File System Adapter">
      <participant name="GenericFileSystemAdapter"/>
      <output message="FileSystemInputMessage">
        <assign to="Action">FS_COLLECT</assign>
        <assign to="collectMultiple">true</assign>
        <assign to="." from="*"></assign>
      </output>
      <input message="inmsg">
        <assign to="." from="*"></assign>
      </input>
    </operation>



    <operation name="Mail Mime Service">
      <participant name="MailMimeService"/>
      <output message="MailMimeServiceInputMessage">
        <assign to="mail-mime-operation">build</assign>
        <assign to="mail-mime-recipient">gaetano@localhost.com</assign>
        <assign to="mail-mime-sender">gis@local.com</assign>
        <assign to="mail-mime-subject">Test Send</assign>
        <assign to="mail-mime-use-doc-area">true</assign>
        <assign to="." from="*"></assign>
      </output>
      <input message="inmsg">
        <assign to="." from="*"></assign>
      </input>
    </operation>



    <operation name="SMTP Send Adapter">
      <participant name="SMTP_SEND_ADAPTER"/>
      <output message="SMTP_SEND_ADAPTERInputMessage">
        <assign to="b2b-raw-message">true</assign>
        <assign to="xport-smtp-mailhost">localhost</assign>
        <assign to="xport-smtp-mailport">3025</assign>
        <assign to="." from="*"></assign>
      </output>
      <input message="inmsg">
        <assign to="." from="*"></assign>
      </input>
    </operation>



  </sequence>
</process>

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

PRI6645

Product Synonym

[<p><b>]Fact[</b><p>];Sterling Integrator, Release 4.0 [<br/>] SCI87048;[<p><b>]Goal[</b><p>];How to send an E-Mail with attachments taken from Process Area

Document Information

Modified date:
16 June 2018

UID

swg21528120