Solved

outlook error message

Posted on 2013-02-02
12
221 Views
Last Modified: 2013-02-04
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
0
Comment
Question by:jpomerantz
12 Comments
 

Author Comment

by:jpomerantz
Comment Utility
sorry - i should have mentioned - i'm using outlook 2003
thanks!
0
 
LVL 4

Expert Comment

by:Thomas WERNHER
Comment Utility
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
0
 
LVL 3

Expert Comment

by:peter_fleur
Comment Utility
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.
0
 

Author Comment

by:jpomerantz
Comment Utility
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!
0
 
LVL 59

Expert Comment

by:Chris Bottomley
Comment Utility
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
0
 

Author Comment

by:jpomerantz
Comment Utility
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...
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 59

Expert Comment

by:Chris Bottomley
Comment Utility
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
0
 

Author Comment

by:jpomerantz
Comment Utility
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...
0
 

Author Comment

by:jpomerantz
Comment Utility
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
0
 
LVL 59

Accepted Solution

by:
Chris Bottomley earned 500 total points
Comment Utility
The error message (I would suggest) is because the PST "hotmail joelpsych" no longer exists ... it's now "Personal Folders".

Either change the entry in the macro to reflect personal folders or because it would seem that PST is the default one you shouldn't need the add event handler at all and the 'olkSentItems_ItemAdd' subroutine can be deleted.

Chris
0
 
LVL 41

Expert Comment

by:Jackie Man
Comment Utility
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.
0
 

Author Closing Comment

by:jpomerantz
Comment Utility
sure enough! disabled the snippet and all works fine and no error message :)
thanks so much
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Outlook Free & Paid Tools
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now