Forum Discussion
TTC-BlueHill1
May 08, 2024Copper Contributor
VBA - Retrieve emails Attachment & Download
Hi Everyone, I have a big task and I don't know if this can be done through VBA. Let me explain what I need to be done. 1. I have several clients that I setup an email address through Exchange se...
peiyezhu
May 16, 2024Bronze Contributor
What I need is to do is login to mailbox (Troy Corporation) retrieve each email with the attached file for each customer,
' Loop through each email in the folder
For Each olMail In olFolder.Items
I guess these codes above which intend to check all mails downloaded rather than saved on the remote Exchange server.
If you need to snyc frequently,one way is to use POP3 to receive email.
Alternatively,you can use an online form (i.e ms froms) to collect infomation which provide a list of all responses instead of individual emails.
' Loop through each email in the folder
For Each olMail In olFolder.Items
I guess these codes above which intend to check all mails downloaded rather than saved on the remote Exchange server.
If you need to snyc frequently,one way is to use POP3 to receive email.
Alternatively,you can use an online form (i.e ms froms) to collect infomation which provide a list of all responses instead of individual emails.
- TTC-BlueHill1Jun 12, 2024Copper ContributorHello,
I am still having issue on how to complete this task by using VBA code.