SAP Knowledge Base Article - Preview

2464881 - BPM mail notifications not being sent due to AuthenticationFailedException


BPM mail notifications are not being sent to the users.

Because of this, users are unable to receive notifications for their BPM tasks.

When checking the default trace messages (SAP KBA 1596214) from when a BPM task is created (and no e-mail received), the following exception appears:

start(Action, ITaskInstance):Could not send notification for task <bpm_task_id> with role <role> and locale <locale>: Cannot send e-mail because the e-mail session cannot be retrieved
Caused by: javax.mail.AuthenticationFailedException
at javax.mail.Service.connect(
at javax.mail.Service.connect(
at javax.mail.Service.connect(
... 92 more

The BPM task is correctly created and is displayed for the user if accessing an inbox application (UWL, BPM Inbox, etc.). The only problem is that the notification is not received by the users.



  • SAP NetWeaver Business Process Management (BPM)
  • SAP NetWeaver Application Server Java


SAP NetWeaver 7.1 ; SAP NetWeaver 7.2 ; SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP NetWeaver Application Server for Java 7.2 ; SAP NetWeaver Composition Environment 7.2 ; SAP enhancement package 1 for SAP NetWeaver 7.3


bpem, bpm, businessprocess , KBA , BC-BMT-BPM-SRV , Process Server , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.