cancel
Showing results for 
Search instead for 
Did you mean: 

Mail not working in SAP Process Automation process

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos
  • I am able to setup my SMTP server with destination.
  • I am able to send a test email.
  • I am able to send emails in an automation using Alert Handlers.

But when I add a Mail node to my process, where I only have set up the email itself, that email is not sent and the process gets stuck at that node. No error is thrown, and the monitoring says it started but then nothing.

Is there something I need to do (besides setting up the SMTP destination and Mail Server) to make a Mail node work?

-------------------------

Here's my Alert that works fine and sends email.

Here's the Mail Server, which sends a test email.

But this Mail node does not work. What am I missing?

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

Does the mail node in a process use the same mail destination and mail server that an alert would? Is there some other setting -- besides the email text -- that I have to set up? Is there some missing text that would cause the mail process to hang? Do I have set up something special?

And is the settings for the destination different than sending mail from an automation bot?

View Entire Topic
s_schmidtke
Discoverer

Hello,

set an app password in your google account.

1. go to https://myaccount.google.com/ and sign in

2. panel security, app password

3. use the generated password in SAP Process Automation

If you use the port 587 set this properties:

- mail.smtp.ssl.checkserveridentity=false

- mail.smtp.ssl.enable=false

- mail.smtp.starttls.enable=true

- mail.smtp.starttls.required=true

king regards

Stefan

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

But I don;t understand ... my destination setup is what is being used for the successful test email, as well as for the email sent via Alert Handler ... how will this help me for the SPA Mail widget?

I already have an App password for the gmail account

ALEJONO
Participant
0 Kudos

Hi!

Thanks! Creating an app password on Google allowed me to send e-mails!

Kind regards,

Ale.