Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

allan53

macrumors regular
Original poster
Jul 22, 2002
166
12
New Hampshire
I use emClient as my mail program. I recently switched to a Mac Studio from an iMac. After this switch (not before) Mail keeps opening and asks me to press "continue" to import my mail into Mail or "cancel" (and Maill then quits.) This happens at least once per day.

I know I can't delete Mail but how can I keep it from opening - it isn't set to open when I login?
 
Try opening mail, go to preferences and select the drop down menu for default mail app. Choose EM Client and close..
 
You can try when the next press "continue" to import my mail into Mail or "cancel" pops up to run
the following :
AppleScript:
tell application "Mail" to quit
If that succeeds in closing Mail you can then do something like :
AppleScript:
on idle
if application "Mail" is running then
tell application "Mail" to quit
end if
return 1
end idle
Make sure you save the script as a Stay-Open application (i.e., with the option to "Stay open after run handler" enabled).
Perhaps there's a preferences file with some setting to change.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.