Skip to Content
-1
Oct 23, 2019 at 08:36 AM

Not possible to configure Mail Task in SAP Workflow CP

842 Views Last edit Oct 23, 2019 at 08:59 AM 7 rev

Dear Experts, Gurus and anyone from the Community who was troubled by this situation.

I am trying to to configure Mail Task in Workflow on SAP Cloud Platform. It seems to me, that I have done everything correctly, using this instruction - https://help.sap.com/viewer/f85276c5069a429fa37d1cd352785c25/Cloud/en-US/5c7a8431ccbd4b83b74b277646987c9d.html?q=mail.smtp.from. My bpmworkflowruntime_mail destination is perfectly configured.

But I am getting the following error:

"Could not send email: The server 'smtp-mail.outlook.com' could be reached, but the login with the given credentials failed. Verify that the credentials are valid for the server".

I tried different mail providers, but the picture is the same.

I have also read this - https://answers.sap.com/questions/460795/workflow-mail-task-can%27t-send-email-correctly-beca.html

The problem is exactly what I have, but those recommendations didn't help me at all...

Is there any way to somehow fix it? Maybe, I have to perform OAuth2 doing some code job in my Controller file?

It doesn't matter for me which mail provider it will be. I just really want my workflow to send mails :)

If anyone knows how to handle this, please, share your knowledge.

I haven't attached any screens, cause I am not sure that this will somehow help... But if it is needed, my pleasure to provide it.