Hi,
These days Mail servers are forcing users to use OAUTH2 and SASL mechanism for sending mail
For examples: while sending mail, we add these below properties :
props.put(
"mail.smtp.starttls.enable"
,
"true"
);
props.put(
"mail.smtp.starttls.required"
,
"true"
);
props.put(
"mail.smtp.sasl.enable"
,
"true"
);
props.put(
"mail.smtp.sasl.mechanisms"
,
"XOAUTH2"
);
props.put(
"mail.imaps.sasl.mechanisms.oauth2.oauthToken"
, smtpUserAccessToken);
But SASL properties seems to be not available in the “org.camunda.bpm.engine.ProcessEngineConfiguration” of camunda-engine.<>.jar.
Please let me know how to configure mail for BPMN mail task using OAUTH2 and SASL mechanism?
Thanks & Regards,
Prashanth