Hi All,
I was wondring if some kind person could give me some help with a VBA Script. I normally program in perl and Shell and havent done any VBA to date.
We currently have a shared mailbox with the following structure:
MAILBOX
|
|-INBOX
|_UNIX
| |_COMPLETED
| |_SUCCESS
|
|_LINUX
| |_COMPLETED
| |_SUCCESS
|
|_SOLARIS
|_COMPLETED
|_SUCCESS
when a job is requested we get a noticifcation into the respective mailbox, example, if we got a job into the UNIX folder the subject would be
"S12310 - Deployment Request: UNIX PT ENV" the S12310 is a job ID which changes per email that is recieved.
When the job is completed we we get an email delivered into the SUCCESS folder with a subject of
"SUCCESS on S12310 UNIXT:BUILD (SOME MORE TEXT HERE)"
what I would like to do is check the SUCCESS folder for mails that come in, when a new mail does arrive in the SUCCESS folder, I want to grab the number "S12310" out of the subject then search the top folder, either UNIX, LINUX or SOLARIS Folders and move any message that has that id in the subject to the COMPLETED folder.
I really do now know where to start with VB as I normally work on Unix systems.
I would appreciate some help with this if possile.
Many thanks in advance.
Mithandra
I was wondring if some kind person could give me some help with a VBA Script. I normally program in perl and Shell and havent done any VBA to date.
We currently have a shared mailbox with the following structure:
MAILBOX
|
|-INBOX
|_UNIX
| |_COMPLETED
| |_SUCCESS
|
|_LINUX
| |_COMPLETED
| |_SUCCESS
|
|_SOLARIS
|_COMPLETED
|_SUCCESS
when a job is requested we get a noticifcation into the respective mailbox, example, if we got a job into the UNIX folder the subject would be
"S12310 - Deployment Request: UNIX PT ENV" the S12310 is a job ID which changes per email that is recieved.
When the job is completed we we get an email delivered into the SUCCESS folder with a subject of
"SUCCESS on S12310 UNIXT:BUILD (SOME MORE TEXT HERE)"
what I would like to do is check the SUCCESS folder for mails that come in, when a new mail does arrive in the SUCCESS folder, I want to grab the number "S12310" out of the subject then search the top folder, either UNIX, LINUX or SOLARIS Folders and move any message that has that id in the subject to the COMPLETED folder.
I really do now know where to start with VB as I normally work on Unix systems.
I would appreciate some help with this if possile.
Many thanks in advance.
Mithandra