thelordoftherings
Programmer
Hello,
I am writing an outlook script which receives Item As Outlook.MailItem parameter.
I'm new to this and I would like to create the following procedure when the messege arrives, assuming the messege always arrive with one file:
1. Check the extention of the file, only if it is a .doc file proceed to the next steps.
2. Save the attachment from Outlook.MailItem to a certain directory.
3. Reply to the sender with a different file located on a certain directory.
4. Permanently delete the messege from the server.
Can anyone please help me writing this procedure.
I am writing an outlook script which receives Item As Outlook.MailItem parameter.
I'm new to this and I would like to create the following procedure when the messege arrives, assuming the messege always arrive with one file:
1. Check the extention of the file, only if it is a .doc file proceed to the next steps.
2. Save the attachment from Outlook.MailItem to a certain directory.
3. Reply to the sender with a different file located on a certain directory.
4. Permanently delete the messege from the server.
Can anyone please help me writing this procedure.