BPM, Workflow, and Case

Expand all | Collapse all

How to send email in BAW with credential?

Jump to Best Answer
  • 1.  How to send email in BAW with credential?

    Posted Tue August 24, 2021 05:37 AM

    Hi guys, 

      I trying to use BAW built-in email service. However,  seems all methods(sendmessage) only support SMTP url & sender email without credentials.  Is there a way to using SMTP services with credentials? Plz advise, tks!



    ------------------------------
    Farseer J
    ------------------------------


  • 2.  RE: How to send email in BAW with credential?
    Best Answer

    Posted Wed August 25, 2021 05:31 AM
    Hi Farseer,

    it looks as if you are right: the code of these integration is published as these toolkit integrations are not supported in the container product variants. 
    https://github.com/ibmbpm/Integration-Samples/blob/main/src/integration/mail/Mail.java allows authentication for getting messages, but not for sending.

    That said, you can extend the sample code to pass credentials for send.

    ------------------------------
    Jens Engelke
    ------------------------------



  • 3.  RE: How to send email in BAW with credential?

    Posted Wed August 25, 2021 10:25 AM

    Hi Jens, 

       Tks for sharing the implementation.  It's good to address that and seems your idea is more generic. 

        Currently my way is to create an external service to send email via mail service API. 



    ------------------------------
    Farseer J
    ------------------------------