Link to home
Start Free TrialLog in
Avatar of Joel Pomerantz
Joel PomerantzFlag for United States of America

asked on

outlook error message

Hello - for some reason every so often - maybe when i'm doing a reply? (not sure...) I'm getting an error message - something about it having trouble storing the sent mail - the screenshot of the debugger is attached - how do i fix this?
thanks!
error-message-in-outlook.doc
Avatar of Joel Pomerantz
Joel Pomerantz
Flag of United States of America image

ASKER

sorry - i should have mentioned - i'm using outlook 2003
thanks!
Hi,

does the folder "sent items" exist ?
is your Outlook storing the file locally or is it just reading it from the exchange server ?
can you receive mails normally with the account ?

Cheers
T
Did you create a rule in Outlook to place certain messages in certain folders? Looks like the rule want to execute but cannot find the folder.
i think that everything is local...
here's the thing that i'm just remembering - i wonder if this has something to do with it - i just recently transfered my data to a new machine and I think that on the old machine I had some sort of rule - don't even remember the details of why or how I did it. my question is right now - what do I do? how can i tell what rules are there, if i need them, and what to do next?
thanks!
Avatar of Chris Bottomley
Check the folder to which it is being moved ... does it exist exactly the same?

Try  placing the cursor on the folder where you expect the mail to be moved and then return to the VBE:

Type in the VBE immediate window (ctrl + G to display):

?application.ActiveExplorer.CurrentFolder.FolderPath

See how the naming compares to that in your code snippet ... is it identical, (first bit is a PST name and then each 'component' is a folder within the PST tree?

Chris
interesting... came back with:
\\Personal Folders\Sent Items

the snippet i think was:
  If LCase(item.SenderEmailAddress) = "joelpsych@hotmail.com" Then item.Move Application.Session.Folders("hotmail joelpsych").Folders("Sent Items")

does that mean it's missing the word "personal"??
what's confusing to me is that it seems to be doing the right thing and putting my emails into the sent items folder!! how could that be? I'll have to check next time it happens to be sure but i seem to remember that I checked and it was working - and also giving the error message...
In strict terms:

\\Personal Folders\Sent Items

equates to:

Application.Session.Folders("\Personal Folders\").Folders("Sent Items")

Unfortunately if you have 2 personal folders it will not necessarily goto the right one ... depends on which is the default.

More worryng to me is that it 'sometimes' doesn't work, do you mean always with an email to joelpsych@hotmail.com it doesn't work because if so that fits with the PST is the default one and outlook is automatically dropping the mail into the default sent items.

Key I guess is does it sometimes take a message to joelpsych@hotmail.com and fail or does it always fail?

Chris
i'm not even really sure - i can't figure out the pattern. what's wierd is that it seems to actually always be "succeeding" in that it's putting a copy of the email that I've sent into "sent items" just that sometimes it is giving me the warning message and opening the debugger. I can't figure out why and when. the email address joelpsych is the only one that i'm using with this...
ok - it just happened again and sure enough, i got the error message - but it still "worked" and put the email i sent into sent items! that's what's so funny - it's working fine, i just need to get rid of the error message
thanks so much
ASKER CERTIFIED SOLUTION
Avatar of Chris Bottomley
Chris Bottomley
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Do you sync emails with an iPhone and has added an hotmail account inside your Outlook?

OR

Have you installed Outlook Connector for Hotmail?

Then, it is very likely when you select to reply an email and have selected hotmail as the account for replying email and there is no sent folder to be synced. So, an error appears.
sure enough! disabled the snippet and all works fine and no error message :)
thanks so much