J
jueberro
Hello:
I am simply mapping a drive to the exchange servers shared mailbox
directory as the domain admin on the exchange server. Using an Access
Module I wrote VBA code to examine and parse emails in a directory
using a custom class object called Custemail that I parse the email
contents into, and based on examination of the contents , after doing
a bunch of stuff to a CRM database, I then decide which salesrep's
mailbox to copy the mail to. I simply use the
filesystemobject.copyfile functionality to do this:
+++++++++++++++++++++++
Set fso = CreateObject("Scripting.FileSystemObject")
<...Code....>
fso.copyfile CustEmail.fileName, salespersonemailbox &
extractFileNameFromFilePath(CustEmail.fileName)
++++++++++++++++++++++++
Salespersonsmailbox is loaded with the path to that persons inbox.
Everything works fine except the emails show up in the salespersons
inbox as read.. How can I make the file appear to be an "Unread"
email?
Any help would be greatly appreciated.
Thanks,
Joe
I am simply mapping a drive to the exchange servers shared mailbox
directory as the domain admin on the exchange server. Using an Access
Module I wrote VBA code to examine and parse emails in a directory
using a custom class object called Custemail that I parse the email
contents into, and based on examination of the contents , after doing
a bunch of stuff to a CRM database, I then decide which salesrep's
mailbox to copy the mail to. I simply use the
filesystemobject.copyfile functionality to do this:
+++++++++++++++++++++++
Set fso = CreateObject("Scripting.FileSystemObject")
<...Code....>
fso.copyfile CustEmail.fileName, salespersonemailbox &
extractFileNameFromFilePath(CustEmail.fileName)
++++++++++++++++++++++++
Salespersonsmailbox is loaded with the path to that persons inbox.
Everything works fine except the emails show up in the salespersons
inbox as read.. How can I make the file appear to be an "Unread"
email?
Any help would be greatly appreciated.
Thanks,
Joe