Apple Script Solution to Mail problem

I'm very new to Mail, but was wondering if anyone with some script experience could tell me if an Apple Script could help with this problem: http://discussions.apple.com/thread.jspa?threadID=742249&tstart=0
I appreciate any help in advance!

Answered elsewhere

Similar Messages

  • An apple script that saves mail attachments no longer works in lion

    In my mail rules, I have been using an apple script, which, if the sender belongs to a certain group, saves any attached files to a special folder I have for attachments from that group. After installing Lion, It performs other parts of my rule (plays a sound, for instance and moves the mesage to a special mailbox, for another), but it FAILS now to save the attachment using the script below. I hope someone knows of a workaround. If not, I hope apple will fix this soon. Here's the script--
    using terms from application "Mail"
        on perform mail action with messages theMessages for rule theRule
            tell application "Mail"
                repeat with oneMessage in theMessages
                    set {mail attachment:theAttachments} to oneMessage
                    repeat with oneAttachment in mail attachments of oneMessage
                        save oneAttachment in ("i828:Users:i8:Desktop:Poker Player:PPlayattach2") & (name of oneAttachment)
                    end repeat
                end repeat
            end tell
        end perform mail action with messages
    end using terms from

    This worked brilliantly!
    Thanks
    David

  • HT1338 Solutions to Mail problems in OSx 10.8.4?

    Since installing OSx 10.8.4 I have been experiencing problems using the Mail client in the normal manner.
    1) Screen freezes at odd times when preparing new emails. Cursor seems to lock-up, and will not clear or restart with any conventional soft controls via the keyboard.
    2) This problem with Mail also seems to directly affect overall Mac performance. It makes the screen go Black, although the Mac is still working in every other sense.  It also makes the Mac crash for no apparent reason - but only when Mail is live on the Dock!
    3) When Mail is not on the Dock, NONE OF THIS HAPPENS, and the Mac works 100% ok in every respect in an ongoing normal manner.
    4) When I reinstall Mail on the Doc
    Question is - Has anyone else experiencing this or similar problems?  Has this been investigated or is it being worked on by Apple?
    Await any and all responses with great interest - especially from experts at Apple.

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, or by corruption of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and Wi-Fi on certain iMacs.  The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • Apple ID, FaceTime, iMessage, Mail problems

    It seems the Apple ID has become a bit of a problem with various iOS apps on my iPhone as well as my MacBook's Mail app.
    First off, I've been a .Mac/MobileMe member since it's inception following iTools, so I have the dual [email protected] and [email protected] email addresses. My iTunes account as well my Apple Store account use the same name as my email before the @ symbol.
    So when I installed iOS 5 and then switched on iCloud, I was asked to use the email for my Apple ID which I used the [email protected]; however, it named my Apple ID w/ the [email protected] but stated the me.com was my email address. Ok, whatever...still can sign on w/ either.
    My problem came about trying to sign up or sign in w/ the newest iOS 5 apps of iMessage, FaceTime, Find My Friends as well as Mail. Each stated I could not use the Apple ID I provided because it was already in use. With FaceTime, I tried the [email protected] and it worked but stated that people could contact me using that email...which of course now no one uses anymore.
    This similar circle happens as well with Mail (unable to d/l new messages) as well as the Mac Mail app; both keep asking for my password, over & over. Find My Friends keeps sending me to Apple's Apple ID sign in page, but I can't see anything there that allows me to authorize the app w/ my Apple ID.
    Long story short, the Apple ID seems to be a bit of a mess right now, and I can only suppose it is due to the major traffic going thru the Apple servers right now w/ the launch of 10.7.2, iOS 5, iCloud, etc.
    However, if someone knows of a work around or solution, I'm greatly appreciative for that information.

    Hello nutsnbolts08,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    Apple ID: What to do after you change your Apple ID
    http://support.apple.com/kb/HT5796
    iOS 6 and later: Go to Settings > FaceTime.
    If you signed out before changing your Apple ID:
    iPhone, iPod touch: Tap “Use your Apple ID for FaceTime” and enter your current Apple ID to sign in.
    iPad: Enter your current Apple ID to sign in.
    If you're still signed in with your previous Apple ID, tap your previous Apple ID, then tap Sign Out.
    iPhone, iPod touch: Tap “Use your Apple ID for FaceTime” and enter your current Apple ID to sign in.
    iPad: Enter your current Apple ID to sign in.
    iOS 6 and later: Go to Settings > Messages, then tap Send & Receive.
    If you signed out before changing your Apple ID:
    iPhone, iPod touch: Tap "Use your Apple ID for iMessage" and enter your current Apple ID.
    iPad: Enter your current Apple ID.
    If you're still signed in with your previous Apple ID, tap your previous Apple ID, then tap Sign Out.
    iPhone, iPod touch: Tap "Use your Apple ID for iMessage" and enter your current Apple ID.
    iPad: Enter your current Apple ID.
    Have a nice day,
    Mario

  • Has Apple addressed the Yosemite Mail problems?

    Since installing Yosemite, my email accounts are crazily erratic. Business account,w which worked fine previously, now is sporadic. Can receive sometimes, can send other times, but not consistent. Has there been any Apple response/fix to resolve the many problems I see posted by others on the internet?

    final cut pro 4.5 and final cut express 3 both seem to have the same dropped frames/capture issue once you upgrade to 10.4.9, something to do with spotlight.
    try this out -
    http://discussions.apple.com/thread.jspa?threadID=929465&tstart=15

  • Solution to mail problem

    just did this with mobile me chat, and it appeared to work.
    settings, mail/contacts, etc. turn all notifications OFF, but select option to keep on phone when offered. when all off, delete the account.
    switch iphone off and on again.
    reinstate the account.
    This appears to have worked for me so far. fingers crossed.

    Just tried this. It didn't work. Any more help? I'm still getting ""The user name or password for "Gmail" is incorrect.

  • Script to open mail at login and then hide app

    I've been messing around with apple script lately and found it useful in being able to do various tasks etc, I've even written a few basic scripts myself
    I use my computer primarily at home with a wireless network and i just leave my mail app open to check my mail more easily. I have the program set up to open at login, which works and then leaves the inbox window open.
    I'm wondering if there is a way with apple script to tell mail to open at login and then hide it self once it's open so that it seems like it opened in the background.
    any ideas?

    Have you considered using the hide option in 'login items' tab in system preferences/accounts?
    Go to system preferences, then to accounts, and then use the 'login items' tab with your account name. Now you can specify Mail to open as you login and then there is an option for you to hide Mail once it opens.
    The net effect is that you will have Mail open once you login and then have it hide itself after login.
    Hope this helps.
    eviscerationer

  • I'm exhausted of trying to find a solution to a problem created by Apple. I have moved to iCloud, following your instructions and now I can not use my mobileme e-mail address. How can I contact directly with Apple, not just an automatic reply phone number

    I'm exhausted of trying to find a solution to a problem created by Apple. I have moved to icloud following all your instructions and now I can not use my mobile me e-mail address. I can not activate icloud because when I put my e-mail address it answers that somebody is already using my address. I have my old e-mails, but I can not receive any e-mail or send them.
    I have contacted Apple Technical Support in Spain and I was sent an e-mail saying that I have to call a phone number and when I call it is always an answering machine who answers that says that I have to pay 50€ for a consultation or wait for 10 minutes. When I have made the consultation it was never mentioned that I have to pay 50€ for a phone consultation. If I don't want to wait I have to pay for the Apple Tecnical Support which cost 250 €, this was not mentioned in the technical support page.
    Can somebody let me know how can I contact Apple in another way in order to talk with a human being or chat directly? I was very happy just using my mobileme e-mails, I didn't need any clouds and I was force by Apple to registered if I want to continue using my mobileme e-mail address.

    Sandra,
    See this Apple support document for information on reporting an issue with your iTunes purchase.
    http://support.apple.com/kb/HT1933
    B-rock

  • I have an older computer and can no longer update. After the latest Apple update I can no longer access my e-mail on my mac. I can view it on my iphone and on icloud. Is there a solution to this problem?

    I have an older computer and can no longer update. After the latest Apple update I can no longer access my e-mail on my mac. I can view it on my iphone and on icloud. Is there a solution to this problem?

    Apple changed MobileMe to iCloud and then restricted iCloud to 10.7 users only unfortunately
    If your machine is a 64 bit processor Intel Mac you can upgrade to 10.7 for $29, however a lot of your 10.5/10.6/Rosetta based software could cease to function, especially third party hardware drivers for printers, fax machines, all-in-ones, scanners etc.
    http://roaringapps.com/apps:table
    Also depending how old the machine is, if it can accept 4GB of RAM (preferred), older video card, may not run 10.7 very well or stable.
    My advice is to keep at 10.6.8, get a web based email service that's plaform/hardware neutral, forward your iPhone emails there. Gmail/Yahoo Mail for instance.
    When your ready for new hardware and all new software, then buy a new machine.
    If your going to go to 10.7 on your present hardware, I advise you clone 10.6.8 to a external drive first, that way you can c boot off the 10.6 disk erase the drive completely (necessary to remove hidden Lion Recovery Partition) and option boot off the 10.6.8 clone and reverse clone.
    http://www.bombich.com/get_ready_for_lion.html

  • Apple Mail problems

    Here's the situation:
    One PBG4 w/broken screen, running an external (duh) Samsung monitor. This is my shop PB, it's currently masquerading as an immobile desktop.
    Another PBG4, which I mostly keep at home, but also use on the road.
    LaCie 320GB external Firewire drive. backup at shop (used Migration Assistant to copy the shop PB's system (10.4.7), apps, and docs to the FireWire drive)
    Two mail accounts both of which dump into Mail 2.1, on both PBs.
    Problem one:
    Is there a way -- besides signing up with .Mac -- that I can synchronize the mail on both machines? Failing that, is there a way -- besides doing it message-by-message -- to save the text and attachments from new mail messages?
    Problem two:
    As far as I can tell, both PBs are set up exactly the same way and certainly the mail prefs are the same, and both PBs are set up with Firefox as the default browser. when I click on a hypertext link in a message on my PB at home, it opens Firefox to the correct page, just like it ought to do, but if I click on an HTML link in a message on my PB at the shop, the mail window flashes once, but nothing opens. This is especially problematic when the clickable link is one of those "click here" links, rather than the actual URL.
    What in the ding-dong am I doing wrong?
    Thanks!
    Bart Brown
    PBG4 Mac OS X (10.4.9)
    PBG4 Mac OS X (10.4.9)

    Locally stored mailboxes and POP accounts cannot be synchronized. The only way to synchronize mail between users or computers is storing it on the server, i.e. using an IMAP account (it doesn’t have to be a .Mac account, any IMAP account would do).
    Mail stores most preferences and all account settings in ~/Library/Preferences/com.apple.mail.plist (except the passwords, which are stored in the keychain). Everything else, including all your messages and mailboxes, is stored within the ~/Library/Mail/ folder.
    If both computers are running the same major version of Mac OS X, copying these (the preferences file and the entire Mail folder) from one computer to the other is all you need to do in order to have an exact copy of all your messages, mailboxes and Mail settings on both computers.
    Locally stored mailboxes can be copied to the Desktop or anywhere else by just dragging them there from Mail itself (for IMAP server-stored mailboxes, transfer the messages to locally stored “On My Mac” mailboxes in Mail first). These, however, are *.mbox folders (not standard mbox files), where messages are stored in individual *.emlx files that other mail clients don’t know or care about. They can be imported back into Mail doing File > Import Mailboxes and choosing Mail for Mac OS X as the data format.
    Selected messages can be exported in standard mbox format doing File > Save As and choosing Raw Message Source from the Format popup menu. Standard mbox files can be imported into most mail clients. In particular, they can be imported back into Mail doing File > Import Mailboxes and choosing Other as the data format. Using this format, however, would cause some status flags to be lost (e.g. whether a message has been replied to).
    Andreas Amann’s Mail Scripts has an Archive Messages script that you may also find useful.
    Finally, there are several backup/archiving solutions for Mail available out there:
    http://www.hawkwings.net/plugins.htm#archive
    if I click on an HTML link in a message on my PB at the shop,
    the mail window flashes once, but nothing opens.
    1. Open /Applications/Utilities/Console.
    2. From the File menu, choose either Open Console Log, or Open System Log, or both, so that Console displays the contents of both system.log and console.log.
    3. Try to reproduce the problem and look at the bottom of the Console windows for messages that might be written there as a result. They may provide some clues.
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder, i.e. ~/Library is the Library folder within the user’s home folder.

  • Getting apple mail account online/offline status through apple script

    Please let me know,If anyone have idea of getting apple mail account online / offline status through apple script.

    mohammed jasum k p wrote:
    Otherwise how to get the online/offline status value.If u can please give me a solution for this.
    this is not possible by any means I know. not every problem has a solution, sorry.

  • Apple Script: Incoming Mail - bigger Text with Rule

    Salve!
    Have some Problems to create an Apple Script. At first - some Mail Accounts from Incoming Mails in Apple Mail App (Mountain Lion) are very fine with Font Size. Some Mail looks like Font Size 6 in the Inbox. Ok, i can size the Font higher with CMD and + ... but it is manual... i dont like this workaround.
    So i create an new Rule in Mail App - Incoming Mail from XYZ and then start this Apple Script XYZ...
    But i am an beginer with Apple Script and it will not work. Can you please help me? I will start the Script with Apple Rule. And the Script must formated the new incomming Mail with Font Size 12 (or 14... or... Number is only one Number)...
    Can you help me please?

    Launch Applications > Utilities > Terminal.app and see if the undocumented defaults setting defaults write com.apple.mail MinimumHTMLFontSize 12 (that's mentioned here) works for you.  That example sets the minimum font size to 12.  You might need to restart mail after the change; I haven't used this setting in a while.

  • Apple script for Message box when Mail app Compose Window Opens

    Hi there
    I'm trying to make mail app remind me to choose the right emaill address to send from since I have several email addresses. Is there a way I can make or write an apple script for a message box to pop up whenever mail app's compose window opens up.
    I can do for the case when I actally click the compose button when I'm on mail app by using UI scripting. But when it comes to hyperlinks which opens up the compose window, it fails.
    I just want a script to see whether the compose window is open and if open pop up a message box.
    Thanks
    Best regards
    Zam Shabeer Thahir

    TaoChitpol wrote:
    By the way, the problem happens with the account of MS Exchange service, I don't know if this is the cause of the problem.
    I think yes.  The encoding is being corrupted somewhere, probably Exchange.  There is nothing you can change on the iPad other than the OS languagel, to see if that helps.  You can also tell Apple at
    http://www.apple.com/feedback/

  • Virgin email via Apple Mail problem

    Hi - The search facility is temporarily down on this site, so I thought I'd post this to see if others have the same problem or there's a solution.
    I'm in the UK and Virgin Media are my provider. I have a primary POP email account with them and a number of aliases within that account. But just recently two of my accounts have 'gone down', i.e. they are greyed out on the left menu.
    I can still send from the accounts, but cannot receive. I can also log onto web mail without any issues, but mail is simply not downloading to Mail on my desktop. If I delete an account and set it up from scratch, it's fine again... but the problem re-occurs after a week or so.
    I have spoken to Virgin support a couple of times and on the last occasion they have said there is nothing obviously wrong at their server end and it must be an Apple Mail problem... most frustrating!
    Any clues anyone?

    After a recommendation from support at Virgin, I had to close down the accounts and set them up again. Unfortunately they didn't warn me that I would lose all of my email!!!

  • I just rented a film using my apple TV and was then asked to enter a code - which I haven't been asked for in long time. I have forgotten the code. Any quick solutions to the problem?

    I just rented a film using my apple TV and was then asked to enter a code - which I haven't been asked for in long time. I have forgotten the code. Any quick solutions to the problem?

    Hello anetsa
    It sounds like you have restrictions setup on your Apple TV. If you do not know your passcode to unlock it, then you will need to restore your Apple TV. Check out the articles below for more information about Restrictions as well as restoring your Apple TV.
    Apple TV: Understanding Restrictions (parental controls)
    http://support.apple.com/kb/HT200198
    Apple TV (2nd and 3rd generation): Restoring your Apple TV
    http://support.apple.com/kb/HT4367
    Regards,
    -Norm G.

Maybe you are looking for