Custom interval to check mail?

Hi all,

is there a way to have Apple Mail check for email every 4 hours or so? I really want it to check for mail 3 times a day, but I do not want to have to set it to manually - I know that way I could not resist checking it more often (funny, isn't it?).

Maybe there is some plugin or app or terminal thing I could do? I'd appreciate if anyone knows of a way to do this...

Pit

MBP C2D, Mac OS X (10.5.4)

Posted on Jul 3, 2008 11:54 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 3, 2008 12:07 PM

you can set mail to check for Mail automatically every 5 min, 15min, 30 min or every hour in Mail preferences->general. there is no built in way to set longer intervals between automatic new mail checks. You can set them up yourself as follows:

Set Mail preferences to check for mail manually.
paste the following into Script Editor and save it as an application.

<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px;
color: #000000;
background-color: #ADD8E6;
overflow: auto;"
title="this text can be pasted into the Script Editor">
tell application "Mail" to check for new mail</pre>


then set up a launch daemon to run this app every 4 hours.
Use [Lingon|http://lingon.sourceforge.net> to make a daemon.

Message was edited by: V.K.
8 replies
Question marked as Top-ranking reply

Jul 3, 2008 12:07 PM in response to Pit29

you can set mail to check for Mail automatically every 5 min, 15min, 30 min or every hour in Mail preferences->general. there is no built in way to set longer intervals between automatic new mail checks. You can set them up yourself as follows:

Set Mail preferences to check for mail manually.
paste the following into Script Editor and save it as an application.

<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px;
color: #000000;
background-color: #ADD8E6;
overflow: auto;"
title="this text can be pasted into the Script Editor">
tell application "Mail" to check for new mail</pre>


then set up a launch daemon to run this app every 4 hours.
Use [Lingon|http://lingon.sourceforge.net> to make a daemon.

Message was edited by: V.K.

Jul 3, 2008 2:29 PM in response to Pit29

Okay, here we go:

1. Quit Mail
2. Download Pref Setter and install it (drag it to whatever folder you like).
3. Go to Users/username/Library/Preferences and find com.apple.Mail.plist.
4. Control-click on that file and select "Open With" and navigate to the location where you put Pref Setter and select it.
5. In the Pref Setter search field, type "poll"; only one item should appear, which is PollTime.
6. In the Value field, double-click to select it and enter 240 (the Check Mail interval in minutes) and press Tab or Enter.
7. Quit Pref Setter (it will ask if you want to save before it quits). Launch Mail and see if it works, which it should.

Mulder

Jul 21, 2008 4:19 PM in response to Mulder

I've followed the instructions, but it seems that if I go into Mail preferences to do something and then exit, it replaces the PollTime value with whatever the preferences say, which is one of the few values offered. Is there a way to prevent that change?

(I'm trying to set a time that will avoid having two clients try to poll a POP server at the same time.)

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Custom interval to check mail?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.