• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to use "Check for new mail" feature
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use "Check for new mail" feature


  • Subject: Re: How to use "Check for new mail" feature
  • From: cricket <email@hidden>
  • Date: Mon, 23 Sep 2002 13:24:39 -0700

Something like:

tell application "Mail"
check for new mail -- to check all accounts
check for new mail for account "Yahoo" -- to check the account named
"Yahoo"
end tell

If all you want is for Mail to check all accounts at a specific time
interval, you can already do that in Account Preferences, or via script:

tell application "Mail"
set fetch frequency to 10 -- Mail will check every 10 minutes
end tell

You can set any integer fetch frequency you want, not just the ones
available in the popup in Mail's Account Preferences.

- cricket

On Monday, September 23, 2002, at 07:00 AM, Fridiric Bultot wrote:

> I would like to write an AppleScript code that check
> every x minutes if new mails are coming. As I seen
> that mail.app has the object "Check for new mail"
> feature but has to glue how to use it.
>
> If somebody could help me if would be great.
>
----->
Software Entomologist/Mail for Mac OS X email@hidden
---------->
What is it that makes a complete stranger dive into an icy river to
save a solid gold baby? Maybe we'll never know.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: How to use "Check for new mail" feature
      • From: Ken Scott <email@hidden>
References: 
 >How to use "Check for new mail" feature (From: "Frédéric" Bultot <email@hidden>)

  • Prev by Date: Re: How to use "Check for new mail" feature
  • Next by Date: Re: HOW TO TURN ON COMPUTER?
  • Previous by thread: Re: How to use "Check for new mail" feature
  • Next by thread: Re: How to use "Check for new mail" feature
  • Index(es):
    • Date
    • Thread