R
Rafael
*********Start of Email Body***********
A mail message could not be sent because the following host is unknown:
nnnn.net
The message that caused this notification was:
To: <[email protected]>
From: <[email protected]>
Subject: mySubject
*********End of Email Body**************
I have over 300 emails with a message body similar to the one above. I need
help with a piece of VBA code that will read the body of all the emails in
the folder and retrieve the email address right after the To: word and copy
it to the body of a new email message to be displayed.
Here is what I know how to do:
1) reference the folder containing the email messages
2) reference each item within the folder
3) create the email message and set it body = to all the email retrieved
from the item
Here is what I don't know:
1) search through the text above to parse the To: email out.
Thanks,
Rafael
A mail message could not be sent because the following host is unknown:
nnnn.net
The message that caused this notification was:
To: <[email protected]>
From: <[email protected]>
Subject: mySubject
*********End of Email Body**************
I have over 300 emails with a message body similar to the one above. I need
help with a piece of VBA code that will read the body of all the emails in
the folder and retrieve the email address right after the To: word and copy
it to the body of a new email message to be displayed.
Here is what I know how to do:
1) reference the folder containing the email messages
2) reference each item within the folder
3) create the email message and set it body = to all the email retrieved
from the item
Here is what I don't know:
1) search through the text above to parse the To: email out.
Thanks,
Rafael