Hi everyone,
I’m in a situation where I need to retrieve an automatic email sent by Outlook when we send an email to a non-existent address. Typically, when we send an email to an incorrect address, Outlook will automatically reply to us, informing us that the recipient is invalid.
I would like to be able to save this email and read its subject or body. Thank you.
and im using licesed [studio] ya
thank you
Hi @Ahmad_Rais
Try this
Change your subject in below syntax
"@SQL=urn:schemas:httpmail:subject LIKE '%MailSubject%'"
Subject=currentMailMessage.Subject
Body=currentMailMessage.Body
Regards,
what will this filter do ?,
last time i test we cannot read it using normal way
@Ahmad_Rais
This filter retrieves the mail that subject matches with the subject what you gave
Regards,
ppr
(Peter Preuss)
June 6, 2024, 7:58am
5
In general the returned mail:
will have some markers in the subject line like: undelivered, Unzustellbar…
How about:
using an Outlook rule and moving mails with this marker to another Ourlook folder
checking at this folder email presence
extracting the subject e.g. with Regex, …
ermmm i dont think we can read the subject
@Ahmad_Rais ,
Undelivered email notifications always have From field as null. It means there won’t be any sender for these emails.
So this is the only filter you have and need.
Sample Mail:
Sample Solution:
Immediate Window:
Output:
Sample Code:
Workflow.xaml (9.8 KB)
Thanks,
Ashok