Date received of outlook message

Hi,
I would like to get date received of message in outlook but I received an error: "The variable received is not defined".
My script source code is:
tell application "Microsoft Outlook"
activate
  set msgSet to current messages
  set theMsg to item 1 of msgSet
  set theAccount to account of theMsg
  set msgDate to date received of msgSet
end tell
What is wrong? I have Yosemite.
BR

Ok, now is better. Thx a lot.
Script was extended:
tell application "Microsoft Outlook"
activate
  set msgSet to current messages
  set theMsg to item 1 of msgSet
  set theAccount to account of theMsg
  set msgDate to time received of theMsg
  set msgYear to year of msgDate as integer
  set archiveFolder to folder msgYear of folder "Archives" of theAccount
  repeat with aMessage in msgSet
  move aMessage to archiveFolder
  end repeat
end tell
but I have error:
"Microsoft Outlook got an error: Can’t get folder 2015 of folder \"Archives\" of imap account id 1. Invalid index."
Folder Archives\2015 exists and when I change line:
"set archiveFolder to folder msgYear of folder "Archives" of theAccount"
to
"set archiveFolder to folder "2015" of folder "Archives" of theAccount"
script is working properly.
What's wrong?

Similar Messages

  • The date on my "date received" for my messages is wrong

    I can't figure out how to change the "date received" category on my mail....any help??!

    Very strange indeed.
    Not certain, but this can fix myriad Mail problems...
    Safe Boot from the HD, (holding Shift key down at bootup),  it will try to repair your Disk Directory while the spinning radian is happening, so let it go, run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, then move this folder & file to the Desktop.
    Move this Folder to the Desktop...
    /Users/YourUserName/Library/Caches/Mail/
    Move this file to the Desktop...
    /Users/YourUserName/Library/Mail/Envelope Index
    Reboot.

  • I am receiving an error message when starting up iTunes: iTunes was unable to load data class information from sync services. Reconnect or try again later. (what does this mean?)

    I recently updated my iTunes to the most recent version and I am receiving an error message when starting up iTunes: iTunes was unable to load data class information from sync services. Reconnect or try again later. (Does anyone know what this means and if it is going to cause me issues?)

    http://support.apple.com/kb/TS2690?viewlocale=en_US&locale=en_US

  • Can't receive MS Outlook Calendar Messages on my BB Curve

    Hello,
    My boss schedules my appointments for me everyday in MS Outlook and sends the update to me via email. In the past, I would receive the message on my 8330 and select "accept" to update the calendar in my BB. This was working fine until about 3 or 4 days ago. I get all other emails EXCEPT anything that has to do with the Outlook Calendar.
    I did a complete handheld wipe on and it worked great for about a day and then stopped receiving MS Calendar messages again.  I also upated my Host Routing tables too without any luck.
    I have tried to send Outlook updates to my BB from other PC's besides my boss and it will not receive any of them so it is not a user issue on his end.
    Anyone have any thoughts on this?
    Thanks,
    Rob Caldwell

    go to options-advanced options- defualt services
    change CICAL from facebook to your primary email

  • I have received an error message from an attached USB hard drive (not Time Capsule) stating "Disk Name" cannot be repaired. Back up your data and reformat. I opened the Disk Utility in an attempt to repair the disk but am advised that the disk "could not

    I have received an error message relating to an attached USB hard drive (not a back up and not Time Capsule) advising that "disk name" cannot be repaired. Back up your data and reformat. When I attempted to verify the disk with Disk Utility, I was advised that the disk could not be unmounted. What can I do to repair the disk?
    Write Status is Read/Write
    SMART Status is Not Supported
    Partition Map Scheme is Master Boot Record
    HELP!
    timothy7712

    You need something stronger, such as DiskWarrior, TechTools Pro, or Data Rescue.

  • I keep receiving an error message when I try to send an adobe document through Outlook email.

    I keep receiving an error message when I try to send an adobe document through Outlook email.
    The message is : Either there is not default mail client or the current mail client cannot fulfill the message request. Please run Microsoft Outlook and set it as the default mail client.
    I have checked everywhere on my system and changed Microsoft Outlook as the default mail program but nothing is helping. Does anyone have any ideas?

    I am having the same issue, just replied to a different post on the issue.  I am running Acrobat X Pro with Win 7 Pro 64-bit.  This is a new PC, but my last PC was a 32-bit OS and I didn't have this issue.  I was suspecting that it is due to the 64-bit OS. 
    Reading this post though, I am starting to wonder if there isn't something else going on.  When I go to Edit>Preferences, I don't have anything related to email under Categories, or even within any of the categories listed.  I am I missing a plug in or something?  Or is this a component of a previous version of Acrobat?
    I tried to attach a screenshot of the error message but getting a new error while trying to attach!  File is only 25kb!  Will have to live without i guess.

  • I unplugged a USB data device without ejecting it properly via 'Finder'.  Now whenever I plug in the device I received an error message stating that the 'disk was not ejected properly

    Now when I plug in the device I receive an error message stating that the disk was not ejected properly & that next time I connect the 'disk', MAC OS X will attempt to repair any damage to the information on the disk.
    It has not repaired.
    The data I am trying to import is photos & even when I change to a different SD card I receive the same message.
    I am a recent convert from Windows and am new to the MAC way of things.  

    You can repair the SD card using Disk Utility.
    I suggest you copy the photos from your SD card, if you haven't done so already, before using Disk Utility to repair your SD card.

  • Ichat: 'no data received for 10 seconds' message and both users using macs

    my sister and i are both using macs. i have a desktop and she has a laptop. we used ichat several times with no problem. she's in cali, i'm in utah. then all of a sudden we started getting 'no data received for 10 seconds' error every time we try to chat. i've tried to find some answers on the boards, but all the explanations are over my head. i'm not a techie, so i needs things in simple, layman terms.
    we're using AIM, and like i said, we're both on macs.
    this is the error message the connection doctor gave me:
    Chat ended with error -20
    2007-04-04 22:23:38 -0600: No data has been received for the last 10 seconds.
    Audio channel info: local machine using xxx.xxx.x.101:16388, expecting remote machine to send to xx.x.xx.xxx:16388
    Video channel info: local machine using xxx.xxx.x.101:16388, expecting remote machine to send to xx.x.xx.xxx:16388
    Chat ended with error -20
    i would appreciate any assistance anyone can give me. thank you!

    Hi Matt,
    Item 1
    Go to System Preference > Sharing > Firewall Tab
    Is this On ?
    If it is do you have a separate iChat Setting (Not the bonjour ichat preset) ?
    If it is On then do the pic around the Second pic here http://www.ralphjohnsuk.dsl.pipex.com/page4.html#_ports
    Item 2
    Next go to System Preferences > Network
    In here choose the Connection method from the second drop down.
    The choose the TCP/IP tab
    From the information you posted in the first post I suggest that reads "Using DHCP" in the drop down and then an IP of 192.168.1.101
    Further down it lists the DNS servers and SubNet Mask
    And the the "Router" IP
    This "router" maybe a actual router or a modem that routes.
    The number at the end of your log is suggestive of a Linksys device.
    Info for you 1
    Now if this a router we will also ned to know if the Modem is doing DHCP (You should not have two device doing this)
    If the "router" IP is 192.168.1.1 then type this in to a we browser.
    The Pop up will ask for a User ID and Password which for a Linksys are bith admin by defualt.
    Info needed 1
    If you get this far can you tells how this set up page says you are connected to the modem ?
    Info needed 2
    If it is a modem can you tells the same info ?
    Either may say DHCP but we need to ascertain where that is coming from. A cable modem may be passing the DHCP IP given by your ISP and we would not have to worry about that.
    Info for you 2
    Now if the set up is Modem > Linsys > Computer I need you to find out the IP the modem is giving out or passsing on to see if it is a DHCP server.
    Info needed 3
    Can you connect the computer direct to the modem and repeat Item 2 please and tells that IP.
    Item 3
    If that IP is the same as when you go to this site http://myip.dk/ then the modem is doing pass through and all we have to do it make sure the Linksys device has the port open.
    Summary.
    1) You now should be able to tell and set the Ports in the Mac Firewall
    2) You should be able to find out the IP your computer is getting from your router device (Same as the Log)
    3) You should be able to access the router if it is a Linksys device.
    4) You can tells us if the device is s router or a combined roter and Modem.
    5) If there is a separate modem you will be able to tell if the IP is being passed through to the Router (when normally set up)
    6) You will know what that IP is.
    Please post back with the information I have asked for.
    Also lets us know makes and models of any router and/or modem
    10:18 PM Monday; April 9, 2007

  • Date Received oddness with Oct 20 messages

    A very odd thing is happening to the messages in my inbox that I received on October 20, 2006 (Eastern Daylight Time). When I first open Mail, their dates in the Date Received column (though not in the preview pane) read October 21 (I'm certain that they all actually arrived October 20, my local time). If I select an Oct 20 message (currently masquerading as having come in Oct 21) immediately after selecting one with a Date Received of Oct 19 or earlier, the former's Date Received changes to Oct 20 (i.e., the correct date). If I at any point select the first message I actually received on October 21 (and that message only), and then start selecting October 20 messages, the date in the Date Received column of each Oct 20 messages selected changes back to Oct 21.
    A couple of other things I've noticed about my Oct 20 messages (this glitch seems to affect only them):
    (1) In messages received on this date with the same subject line, the date changes simultaneously (i.e., when I select one according to the conditions layed out above, both change simultaneously).
    (2) The first message I actually received on Oct 21 (at 12:21 a.m. local time, which incidentally was sent from Germany, six hours ahead) also changes its Date Received to Oct 20 when I select it after a message with a Date Received Oct 20 or earlier (not including the Oct 20 messages when they're in their false Oct 21 state).
    Some notes on the Oct 20 messages: five (received between 10:45 a.m. and 4:47 p.m.) are from within my office, one (received at 6:16 p.m. local time) is from Australia (approx. half a day ahead--i.e. sometime early on Oct 21), and two (received at 6:21 p.m. and 6:24 p.m. local time) are from North America's Mountain time zone (two hours behind my local time).
    Curious! Doesn't pose any practical problem, but what a brianteaser! And I've just stolen a couple of hours of company time to tell you about it! After all this analysis, it seems to me the problem must relate to that message from Germany, received just after midnight local time on Oct 21. Anyone care to tackle this?
    Intel iMac (1.83 GHz Core Duo) 17"   Mac OS X (10.4.8)   1 GB RAM

    View-Sort By-Unthreaded

  • Receiveing "Unable to load data from Sync Services" message following iOS 5 Upgrade on iPhone 4 w/ Windows Vista, iTunes 10.5.1.  How do I repair?

    I upgraded my phone to iOS 5 yesterday.  Lost several apps which I restored through my Purchased list in the iStore.  Now when I try to sync the phone using iTunes, I receive an error message advising iTunes is unable to load data from Sync Services, and to disconnect and try again later.  Have tried again later...no difference.  After I acknowledge the error, iTunes continues to say it is Syncing the phone, but it continues to idle.
    I have an iPhone 4.  I am running iTunes 10.5.1.42 on a Windows Vista system.
    What do I need to do to clear this up?

    http://support.apple.com/kb/TS2690

  • I'm receiving an error message that reads "The backup disk image '/Volumes/Data/my name's iMAC.sparesebundle" is already in use.  The time capsule is not backing up any files.

    I'm receiving this error message about my Time Capsule:
    "The backup disk image '/Volumes/Data/my name's iMAC.sparesebundle" is already in use.  The time capsule is not backing up any files.

    1. Open the Sharing preference pane and check that the computer name hasn't changed without your knowledge. For example, if the name was "X's iMac," it might now be "X's iMac (2)". In that case, restore the original name. You may have to click the lock icon in the lower left corner of the preference pane to unlock the settings. Test. If there's no improvement, or if the name had not been changed, continue.
    2. If you're backing up to a Time Capsule, or an AirDisk attached to a 2013 or later model AirPort Extreme base station, restart it in either of the following ways:
    ☞ Disconnect and reconnect the power adapter.
    ☞ Select the device in the AirPort Utility application and then select
              Base Station ▹ Restart
    from the menu bar.
    If AirPort Utility notifies you of a firmware update, install it.

  • My apple mail is receiving my outlook/ company messages, but not gmail.  Message is "take account online" but it won't.  Outgoing gmail messages work.

    My apple mail is receiving my outlook/company messages but not gmail.  It says the account is offline, but won't go online.  gmail messages do send.  Help!

    Remove the account and put it back again, use Internet Accounts (in System Preferences) to do this.

  • HT1688 I have a PC computer and an I-phone 4s.  I set up an i-tunes acct online w/ icloud.  after a recent update my computer started receiving an error message on start up.  it says "AppleSyncNotifier.exe - Entry Point Not Found".  I click OK and it move

    I have a PC computer and an i-phone 4S.  I set up an i-tunes acct online w/ icloud.  After a recent update my PC started receiving an error message on start up.  It says "AppleSyncNotifier.exe - Entry Point Not Found".  It also says, " The procedure entry point smlTextreaderConstName could not be located in the dynamic link library libxml2.dll".  I click on OK and it moves on.  It doesn't seem to affect my computer, but it's annoying.  Any ideas on correcting this?

    UPDATE - (Made a second post so it'd be clearer)
    I uninstalled Office 2003, then iTunes, then all of the associated software (Mobile Device Support, Apple Update, Quicktime, EVERYTHING)
    Reinstalled Office 2003, then Office 2003's Service Pack 3, then all Microsoft Updates for Office 2003. Then I configured a blank Outlook profile, no data other than the IMAP info for my .Mac/Me account. Then I downloaded (didn't used my existing copy) of iTunes 7.7 and reinstalled. Sync'd phone. Changed MobileMe settings. Told it to sync contacts and calendar with Outlook. It warned me because it was the first sync. Told it to take ALL of the MobileMe data and replace the data on the computer (which was blank.) NOTHING showed up in Outlook. When I tell it to sync Contacts with the Windows Address Book, it works fine.
    In Conclusion, it still won't sync with Outlook, when it's set to Sync with Outlook I still get the annoying MAPI errors. So I switched to to Sync the Contacts with the Windows Address Book, and I'm backing up my WAB file now with my nightly backups.
    I suppose we'll see if it gets fixed when I format/reinstall on Vista Ultimate in the next month or two. If anyone has any suggestions, I'm open and willing to try them.
    On a completely unproductive note: Despite my love for Exchange, I hate MAPI.

  • Michael Miller: Removed Cannot log in (old mail on file?) and cannot download Lightroom 5.6 from inside Lightroom.  Get NO DATA RECEIVED error. Need to get back on Chat.

    This was my previous discussion with Adobe Chat, which I CANNOT FIND a link to now.
    It's a catch 22.  I think Adobe still had my old email address, which I have deleted with Comcast.
    Therefore, Adobe cannot send me a change of password form, nor can I update my email.
    I think Chat is my best bet, but cannot find link.
    Note, I may not be able to receive forum responses, if Adobe notifies my old email address.
    If I need to sign in to get responses, I cannot do that either. Adobe reports an error if I use my old address.
    I cannot update my email address, without signing in.
    Adobe, and everyone else needs to have links for: Forgot Your Password? -AND- Forgot Your Email (or changed it).
    Please reach me outside of Adobe at: <Removed by Moderator>
    I am a registered customer with products on file.
    Chat History:
    Sandesh: May I have the email address to  which you have access ?
    you: Correct address is:<Removed by Moderator>
    But, do I have to login to download updates. I got the dialog directly from LR, when I opened it.
    Sandesh: May I have the serial number of the product please ?
    you: LR 5: <serial number removed by moderator>
    Sandesh: Thank you.
    Sandesh: May I know the exact error message you are getting ?
    you: NO DATA RECEIVED. In the meantime, I found another LR ID: <serial number removed by moderator> in case you need it.
    Sandesh: Sure.
    Sandesh: May I know whether you are using the Dvd or the download ?
    my comment (I already said download above).
    you: Trying to download from your Adobe web site.
    Sandesh: Okay.
    Sandesh: Please allow me  a moment.
    Sandesh: Could you please copy paste the URL of the download link you are using on the chat screen so that I can check ?
    Sandesh: Are we still connected?
    Added today: 8/19/2014:
    The link the download button is on, is:
    http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=5823&fileID=5837
    Loading message says: Waiting for download.adobe.com
    The page the error is on, is:
    http://download.adobe.com/pub/adobe/lightroom/win/5.x/Lightroom_5_LS11_win_5_6.exe
    Then, while Sandesh was researching, I had to leave the room for too long and then had to go out.  So,
    Sandesh: Since we have not heard from you for some time, we will now end this chat.

    Michael Miller please try a different web browser.  You may also want to review your host file to ensure the Adobe servers are not being blocked.  You can find details on how to review your host file at Sign in, activation, or connection errors | CC, CS6, CS5.5 - http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html.
    I was able to download the Lightroom 5.6 update without any errors.  If you continue to face difficulties you may want to try a different Internet connection or download the update onto a USB drive on a different computer.

  • My phone number appears on my daughters iTouch and she can receive my text messages.  If I need to creaye a new user account for her itouch, can i use the same iTunes account or do i need to create a new iTunes account?

    My phone number appears in my daughters list of acceptable numbers to receive texts or messages on her iTouch.
    I sync her iTouch on my iTunes account.
    Do I need to create a separate iTunes account for her to prevent this from happening?  or can i use the same itunes account and just create a separate a differne user name for the same itunes account?
    If i need to create a separate iTunes account, how can i save her data and game levels?

    I recommend that you
    Create a NEW account/ID for her using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before.
      Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    Use the new ID on her iPod but only for:
    Settings>Messages>Send and Receive
    Settings>FaceTime
    and Settings>iCloud if you want her to have separate Contacts Calendar and some other things.
    Continue to use the same/common Apple ID for Settings>iTunes and App stores so you can share purchases.

Maybe you are looking for