How to catch " email don't exist"

Hello,

i would like to know if it is possible to catch “550 5.1.1 The email account that you tried to reach does not exist” in uipath.
Didn’t found something similar in the forum.

for sending i use : send smtp mail message
for catch i use : try catch

Hi

Welcome to uipath forum

Is this coming along a mail body

If so first get the mail message with any of the get mail activity and get the output with a variable of type MailMessage and named as outmail

  • now use a for each activity and pass the variable as input and change the type argument as string and inside the loop we can get that mail body with a assign activity like this
    str_mail = item.Body.ToString

Or

If it is coming on a web page or on top of a screen use SCREEN SCRAPPING method from Design tab to fetch that text

Cheers @BenjenB

thx @Palaniyappan it work with the loop and get pop3 but is that normal the count become 0 after launching even if i stop before the end?

i put item.from because item.body is not a text it would seem

Yeah once after all are iterated and processed count will be zero and ofcourse it’s the count of mailmessage
@BenjenB

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.