G
Guest
I hope I am not repeating the questions but I looked and could not find it.
I don't know if this is possible but this is what I would like to do.
I receive emails everyday stating if the report ran successfully. If ran
successfully the email will simply say " successful", if not, then the email
will contain the word " reject" and has the username that was rejected.
I would like to:
Look for the latest email (most recent email) in the folder named " Report
Status",
Search for the phrase " rejected" in the body of the email.
I would like to run this in Acess database form. Have command button to
search the email and if there is a rejection I would like msgbox to be the
body of the email.
If no reject email, then msgbox willl simply say " No rejects".
Can anyone help me with this?
Thank you
I don't know if this is possible but this is what I would like to do.
I receive emails everyday stating if the report ran successfully. If ran
successfully the email will simply say " successful", if not, then the email
will contain the word " reject" and has the username that was rejected.
I would like to:
Look for the latest email (most recent email) in the folder named " Report
Status",
Search for the phrase " rejected" in the body of the email.
I would like to run this in Acess database form. Have command button to
search the email and if there is a rejection I would like msgbox to be the
body of the email.
If no reject email, then msgbox willl simply say " No rejects".
Can anyone help me with this?
Thank you