Question
Erste Digital
AT
Last activity: 16 Nov 2023 11:21 EST
Email account not working for Office 365
Hi team, we have a requirement of sending email notification from prediction studio landing page,
we have followed below steps:
in this article it's mentioned that "Ensure that your system architect updates your operator account with an access role that has the pyNotificationThreshold privilege in the ultimate base class (@baseclass) set to level 5." but I didn't find any such privilege in the baseclass.
We are using Pega 8.7.4.
Also,we have created an email account using office 365 which is throwing error at runtime:Caught unhandled exception : Unable to send email due to : 530 5.7.57 Client not authenticated to send mail.
@RumelaB4 can you clarify if you used Configuring the delivery of an email treatment with the Send Email shape and Configuring the email and SMS accounts used by Pega Customer Decision Hub for your configuration settings?
Please check the logs for the full connectivity errors.
Before capturing the logs you will need to enable the below loggers to debug level:
- Rule_Obj_Activity.SMTPConnectivity.Data_EmailAccount.Action
- Rule_Obj_Activity.pzSendEmailDigest._baseclass.Action
- com.pega.pegarules.integration.engine.internal.services.email.EmailListener
You can create logs category to simply enable and disable log categories:
https://docs-previous.pega.com/application-development/87/creating-log-categories-dev-studio
See other forum posts such as this one: SMTP send failure STARTTLS - Office365 Outlook
Some troubleshooting articles:
Emails fail to send
@RumelaB4 can you clarify if you used Configuring the delivery of an email treatment with the Send Email shape and Configuring the email and SMS accounts used by Pega Customer Decision Hub for your configuration settings?
Please check the logs for the full connectivity errors.
Before capturing the logs you will need to enable the below loggers to debug level:
- Rule_Obj_Activity.SMTPConnectivity.Data_EmailAccount.Action
- Rule_Obj_Activity.pzSendEmailDigest._baseclass.Action
- com.pega.pegarules.integration.engine.internal.services.email.EmailListener
You can create logs category to simply enable and disable log categories:
https://docs-previous.pega.com/application-development/87/creating-log-categories-dev-studio
See other forum posts such as this one: SMTP send failure STARTTLS - Office365 Outlook
Some troubleshooting articles:
Emails fail to send
Troubleshooting outgoing email