Question

2
Replies
650
Views
TSUCK Member since 2010 122 posts
PEGA
Posted: 2 years ago
Last activity: 2 years 5 months ago
Closed
Solved

SMTP error handling

Hi,

We have a button where user can send an e-mail that attaches all files attached to the work object to external e-mail address. This SMTP process is asynchronous with work object and it may get errors afterwards; file size is over limit, e-mail address does not exist, etc. Though, this e-mail is very important and user wants to know if it gets any kind of errors. What would be the best approach to implement this requirement?

One way to do it is monitor inbound e-mail from MAILER-DAEMON but there are a couple of hurdles for this - One, I don't know how easy it is to map which work object the incoming error e-mail is related to, or which error code it is. Two, I am not even sure if all kinds of errors can be received from MAILER-DAEMON by e-mail. Anyways, it is asynchronous and it is a lot to build.

Is this the only approach? If so, any tips from anyone who built this?

Thanks,

Low-Code App Development
Moderation Team has archived post
Share this page LinkedIn