i have one scenario wherein,bot sends an email using windows id(id - ABCD), suppose some person has left the organization and when we try sending an email to that person it will say invalid id correct? how to handle this exception.
my requirement is if it doesn’t send an email it should catch that and send a n email to seperate team. how to achieve it.
yes, your’s way is quite ok for me, but then one question.
in my case suppose for one organization there is 10 userid , suppose 5 email id is not working now, and there are some person in CC which is valid user id , so if To id is not valid, will it send email to CC person?
just in simple terms, If To is not valid email will be trigger? with CC person only, if yes then how they will understand that To person is no more valid in organization?
or second scenario, if 5 has error, then bot will open mailbox and read those recipents names and intimate to other team about this, again bot has to fetch 20 user id for different organization in which 8 is not working aagin it will do same thing, then how bot will understand which email he has already read and which he has to read second time like wise for rest…
or i am asking something different, do let me know pls
Send an email with a wrong to address and with correct cc address and check if you are getting email or not for the cc person…if email is invalis in to one thing for sure is it will send the response gmto you that it is not valid but I am not sure if cc person will get the orginal email or not…you hve to check it on e by sending email like that…because I never tried it
Wait for few seconds after trying to send a mail and then get top mail from sent items folder using Get outlook mail messages activity and check if the mail is sent or not in the folder. If sent, consider it as valid address and if not sent, then the mail address is invalid.