Well i have found a work around. I removed the shared folder and created a redirect rule on the server to send the email to "AS400Reports" email... so it still comes in as to: "PoolReports" now i just have one inbox and one deleted items but i still needed to change both 'Rule scripts' to map...
Objective use Virtual PC to Folder Different types of PDF's on one instance of Outlook 2010 with two email inboxes. using different email Rules to run scripts.
Situation Facts:
Fact#1: two email address AS400Reports@mydomain.com; and PoolReports@mydomain.com
Fact#2: Virtual PC specifically...
Objective use Virtual PC to Folder Different types of PDF's on one instance of Outlook 2010 with two email inboxes. using different email Rules to run scripts.
Situation Facts:
Fact#1: two email address AS400Reports@mydomain.com; and PoolReports@mydomain.com
Fact#2: Virtual PC specifically...
I would like to thank everyone for their help on here STRONGM and Andrzejek both! You both were Right [2thumbsup] 11:18 worked.... i left an "s" off reports (it was something simple Andrzejek) and it created a new folder further up the tree that i didn't back out far enough to see until this...
Alright lets take a different approach. i decided to take out the check\create folder part and put it in its own script. Here is my new issue.
Public Sub CreateFolders(Mail As Outlook.MailItem)
Dim f As String
Dim strSubject As String
Dim objFileSys
Dim strPath, strNewFolder...
no here is the subject line of the test email i am sending. "290\2015\Naptime"
When i try to step thru "f8" nothing happens :-(
(again i'm new to this because its not a macro but a script)
BUT i activated the msg box that i use to determine the file path it comes up blank.
For Each Atmt In...
okay this is what i have come up with [now its not saving attachments (even if the path exists), popping up errors, or creating any folder]
Public Sub SaveAttachments2(mail As Outlook.MailItem)
On Error GoTo GetAttachments_err:
Dim Atmt As Attachment
Dim FileName As String
Dim i As Integer...
i take it i am to add the first box and the replace like you suggested. then i get multiple subs I can not get multple subs to show up in the outlook rule option. is that possible?
Everything works but one last thing i need, it to create multiple folder paths (if needed).
So there is a set path
"Z:\Chuck_Norris\IBM_Mainframe\"
in addition to that there is "f"
Dim f As String
f = strSubject
StrFolderPath = "Z:\Chuck_Norris\IBM_Mainframe\" & f & "\"
Example subject line...
So i am in a bit of a pickle. i am new to programming all together. But here is my situation: Our company uses and IBM mainframe to process all the database queries. the mainframe doesnt interact well with the MS infrastructure we have today. They want it to folder the PDF reports it generates...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.