OSX Lion Mail.app bug in signatures containing a URL

This is highly reproducable: try adding an image followed by text in a signature in Mail.app. Now select the image and add a url (CMD+K) e.g. to your company website. So far this should look the way you expect. Now click on some other preference, so Mail saves the signature. I have multiple signatures, so I just click any other signature. Click back on the signature you have just created, and notice how all text that came after the image now is underlined.
Why?
There's a bug in the way Mail saves the webarchive file for the signature (~/Library/Mail/V2/MailData/Signatures/<blabla>.webarchive. When you open this file, you will find a bunch of binary bla, followed by invalid (see missing quotes in attributes below) HTML, that will contain your image similar to this:
<a href="http://www.mywebsite.com/">
<SPAN class="Apple-string-attachment"><OBJECT height=53 width=157 type=application/x-apple-msg-attachment data="cid:[email protected]"></OBJECT></SPAN>
Don't ask me why Mail capitalizes just these tags and not any other tags, but the most important bit is that Mail forgets to add the closing tag </a>, so now everything trailing the image is linked too.
I cannot reproduce this in Safari, so apparently Mail and Safari do not share code here. I have tried what happens when copy/paste a valid rendered HTML file with the appropriate signature text from Safari into Mail, but the result is the same.

also via applescript same beahviour, composing a message and including an attachment after setting the signature make underlined all the text after the first email adress inside the signature.

Similar Messages

  • OSX Lion Mail and Exchange Server

    My ITS person says that OSX Lion Mail "doesn't allow for exchange accounts so calendars etc don't work".
    Is this true?
    Thanks!

    Again, both of you have been really helpful.  Thank you so much.
    If you are both still on this thread, I would like to ask about solutions to a space problem:
    My primary computer is a MacBook Pro (Lion 10.7.3), where I am running Entourage 2008 (13.1.2).  Because I have limited space on my MBP for housing old emails (under "On My Computer"), I created a server from an old Mac in my office.  Then, using Entourage 2008 from my MBP, I created an additional IMAP account on the old Mac server, with subfolders for "email_2005", "sent_email_2005", "email_2006", "sent_email_2006", etc.  This is where I archive all my old email.  The nice thing about setting it up this way is that I can search any or all of these folders anytime, and from any location, directly from my Entourage 2008 app on my MBP, yet they take up no space on my MBP.
    First of all, I suspect there were easier ways to archive off emails from my MBP, but after searching and asking for weeks, this is what I settled on and it has served me well for years.
    But now, my old Mac really is getting old and I'm worried it will die at some point.  Plus I'm not thrilled about trying to maintain the server software on this old Mac.
    I also have space on a shared drive maintained by ITS, that's backed-up nightly.  This would be an ideal place to house archived mail folders.  Then I could take down the server on my old Mac and not worry about it anymore.  Unfortunately, I have not been able to set up an IMAP account on my shared drive space (I suspect it's against the ITS rules of this drive).
    Entourage 2008 does not permit me to designate where "On My Computer" folders are housed (they have to be on the same computer running the Entourage 2008 app).  If I could designate the location of "On My Computer" folders, a simple solution would have been to just locate them on the shared drive and I wouldn't have to bother with creating additional IMAP accounts housed elsewhere.
    Questions:
    1) Does Outlook 2011 or Lion Mail permit designating the location of local files (off my primary MBP) for archiving emails?
    2) Is there a simpler solution to archiving emails off my laptop, but that would also allow them to be conveniently searchable from within a mail app on my laptop?
    Sorry for the long-winded questions.
    Thank you again.

  • Migrate from Exchange Server 2011 to Mac OSX Lion Mail Server

    Hi all,
    I'm looking to migrate from Exchange Server 2011 to Mac OSX Lion Mail Server.  I work for a company with roughly 30 employees and they use exchange for mail, contacts and calendars.  We want to take full advantage of OSX Server and to completly get off of exchange.
    What are the best ways to do this?  Are there any tools available to help this process?

    I agree with the points made by Strontium90. If you have any PCs then Apple's mail/contacts/calendar software is a poor choice. Kerio Connect as a mail/contacts/calendar server would not only support Macs but would also do a good job supporting PCs running Outlook.
    If you are going to become a pure Apple site, then you could use just the Apple software and this would be cheaper than using Kerio. For 30 users this might be a suitable solution, however even in a pure Apple environment many people prefer Kerio. For example I find Kerio much more pleasent when dealing with email addresses across multiple domains, email aliases, email group addresses, and so on. Kerio also has built-in email archiving, that is keeping a record of all emails. Kerio also provides a web-browser client for accessing email, calendar and contacts. It is worth noting that as standard Mountain Lion Server no longer includes a webmail feature. While I personally find the Kerio webclient rather ugly it does work.
    There are some annoyances I have with Kerio, firstly they have always charged a 'maintenance' fee for their software. This provided access to software updates, and in the past also provided access to Kerio technical support. Unfortunately they now only let you make two (2) support cases per year for that cost, and you now have to pay extra for any more cases. Also while they added support for EWS (Exchange Web Service) to allow using Outlook 2011 for Mac as a supported email client, they did a poor job of this so that it does not work properly with any other EWS compatible client. This means it will not work in EWS mode with Apple Mail, nor with Outlook for Windows. While there are other ways to connect these other clients, this seems a foolish move and there have been plenty of requests to fix this.
    Apple's Mail client uses EWS to connect to a 'real' MS Exhange server.

  • OSX Lion Mail Server Junk Mail Filter blocks incoming mail from any Yahoo address

    I have yet to be able to use OSX Lion Mail Server's Junk Mail Filter.  I have several contacts who use (free) Yahoo Mail addresses.  Whenever I turn on Junk Mail Filter, even at the Most Cautious setting, any incoming mail from Yahoo.com addresses do not make it into my inbox.  I was told last year by an Apple Enterprise Tech Support contact that "..we're still having problems with that Junk Mail Filter, sorry, just leave it off for now.."  WTH  In the meantime, the good news is I'm not missing any incoming e-mails; but, I'm having to sort through and delete a few hundred spam messages each day. 
    Suggestions?  Thanks in advance

    I agree with the points made by Strontium90. If you have any PCs then Apple's mail/contacts/calendar software is a poor choice. Kerio Connect as a mail/contacts/calendar server would not only support Macs but would also do a good job supporting PCs running Outlook.
    If you are going to become a pure Apple site, then you could use just the Apple software and this would be cheaper than using Kerio. For 30 users this might be a suitable solution, however even in a pure Apple environment many people prefer Kerio. For example I find Kerio much more pleasent when dealing with email addresses across multiple domains, email aliases, email group addresses, and so on. Kerio also has built-in email archiving, that is keeping a record of all emails. Kerio also provides a web-browser client for accessing email, calendar and contacts. It is worth noting that as standard Mountain Lion Server no longer includes a webmail feature. While I personally find the Kerio webclient rather ugly it does work.
    There are some annoyances I have with Kerio, firstly they have always charged a 'maintenance' fee for their software. This provided access to software updates, and in the past also provided access to Kerio technical support. Unfortunately they now only let you make two (2) support cases per year for that cost, and you now have to pay extra for any more cases. Also while they added support for EWS (Exchange Web Service) to allow using Outlook 2011 for Mac as a supported email client, they did a poor job of this so that it does not work properly with any other EWS compatible client. This means it will not work in EWS mode with Apple Mail, nor with Outlook for Windows. While there are other ways to connect these other clients, this seems a foolish move and there have been plenty of requests to fix this.
    Apple's Mail client uses EWS to connect to a 'real' MS Exhange server.

  • IMAP issues in Lion Mail.app?

    Hello...I've been dealing with a snarky email issue with Lion Mail.app for several months. The issue is that Lion Mail does not have the same email counts as the corresponding web mail server for that account shows, either grand total, or folder by folder.
    Snow Leopard Mail, and Tiger Mail DO agree with the web server, and Thunderbird 8.0 installed in Lion does agree exactly with web mail.
    Based on these observations, a lot of testing, and several deleting of email accounts and re-setting them up again, my feeling is that there is something wrong with Lion Mail.app's ability to handle IMAP
    I certainly do like the Mail.app and it's my first choice, but I need to see an accurate view of my mail. Lion's Mail simply isn't giving it to me.
    Any thoughts from those who've had an experience like this with Lion Mail.app? If you've had this problem and fixed it, how DID you fix it?
    Thank you,
    ray

    After you click [+] to add an account, hold the option key and click [Continue]
    "When all else fails, hold the option key!"

  • How can i import my Outlook 2011 osx mail to my lion Mail app?

    someone knows how to??
    i use outlook on my imac and macbook but now i wat to use the native mail app since the 2011 outlook version is well   uuhhh   plain buggy and crap, so now i need to import my mail and folders to lion mail, but the native mail app only has entourage in it to import from (or other macfiles, not supported by outlook)
    is there a trick to it?   or am i just screwed?   
    if it makes things easier   i also have outlook 2010 on a windows pc
    no, my mail client isnt imap im afraid   its a pop account
    Thanks in advance for advice

    Re: How to Import mailbox from Outlook 2011 into Mac Mail Lion

  • Mail.app, Link on signature-icon does not open URL

    In a mail-signature I have a FaceBook-icon with a Hyperlink to a FaceBook-site.
    - This link works not in a received message, when the recipient is Mail.app on Yosemite.
    - With Mail.app on Mavericks it works well.
    Behaviour:
    - Double-Click opens the attached picture, but not the URL in the browser, as expected.
    - URL ist shown correctly on MouseOver
    ... sometimes, condition are not reproducible ....it works :-(
    To create the link I used the method as described at.  http://mac-fusion.com/clickable-social-media-icons-in-your-mail-app-signature/
    Can anybody confirm this behavior?
    Any workaround in creating the Hyperlink - or is it a bug?

    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Mail Feedback

  • OSX Lion Mail - email account appending previous user's mail in "mailto:" section

    So here is the issue I'm runing into.
    I recently bought a MBA for my gf and she likes it.  I decided to set up everything in the beginning and download critical updates and this made me use my AppleID to sign in.  I was trying to make sure that the Macbook mail app was working  fine, so I used my gmail account to test it out.
    Prior to handing the macbook air to her, I made sure I took out all my account information from the Mail settings.
    Months later I started receiving reply emails that was intended to go to her.
    Upon checking the mail receipt, it seems like my gmail account got appended to her "mailto:" part of the mail.  Obviously when her contacts reply to her, it would use the email in the mailto: part the email arrives at my inbox, not hers.
    I thought this was just a one time occurence, but now its happening all the time and we're getting annoyed. 
    We checked through all possible settings and sub settings in the Mail application and found 0 trace of my gmail account.
    So here is the list of my questions:
    How do I fix this?
    If there is no fix, is it possible to reset the mail application back to its initial configuration?
    I'm trying to find ways to fix this without formating the whole box.
    The mail app is the native OSX Lion app, fyi.
    Thanks in advance!

    Check the setting (See red arrows) in this pane of Mail's Preferences.
    Make sure the right account is shown.
    You can see my setting here. You may want have hers more specific.

  • OSX Lion Server app hangs; dock icon shows incrementing counter

    I'm running OSX Lion (10.7.3) on a MacMini.
    since yesterday, the following concistenly happens: when I start the server app, it says "connecting to the server" next to the spinning wheel at the bottom right corner of the app window. After a few seconds, the app's dock icon shows a red counter (akin to the "unread counter" of the mail app) which is continuously being incrememted, and the (in)famous colored spinning wheel comes up as well: the server app hangs, and shows up as "Not Responding" in the Activity Monitor.
    I've checked the System Diagnostic Reports on the Console window, and it reports the Server app as hanging, followed by a few thousand lines of messages ...
    Does anybody know what goes wrong, or better, how to resolve this problem??

    I have the exact same issue. I can see from Console.app, that
    opendirectoryd: got error 1100
    Can somebody please help?

  • Did most recent Audio update to OSX and Mail.app went insane.

    I switched to the Mac in... November? and have absolutely loved it. This has been my first catastrophic experience thus far and I'm used to Windows being a part time job to manage so I'm not complaining.
    However, late last week OSX installed an audio update of some sort and when I rebooted mail.app had seemingly lost it's mind:
    1. IMAP accounts constantly go offline and then back online at random time intervals. This problem I actually had occasionally before but now it's a constant annoyance.
    2. Frequently getting "The message from "somebody" concerning "something" has not been downloaded from the server. You need to take this account online in order to download it." error message for messages that have a. already been downloaded and b. who's accounts are showing as online. FYI, yes I do have mail.app set to download and keep a copy of the messages locally.
    3. Some messages (I can't find a pattern but it's about 5% of the messages) download repeatedly and appear in the inbox as many as 51 times. The only solution to this seems to be to log into the IMAP account's webmail access and delete the "offending" message.
    4. An account can be online and yet not show all the messages that are in the inbox. I know this because if I log into the webmail I can see them.
    5. Seemingly randomly the rules are ignored. Typically I can select a message and then tell mail to apply rules and then it works but why didn't the rule happen on it's own as usual.
    6. The general "Inbox" sometimes doesn't show new items in the individual account inboxes until I go and click on those individual account inboxes and then come back to the general inbox.
    Info about my system/setup:
    a. I have 4 IMAP accounts.
    b. I store messages on the IMAP server.
    c. The "fullest" IMAP account has roughly 500 MB in it but is set to have 2.4 GB capacity on the IMAP server. That account also has 48 personal folders on it, and has had them for a little over a month. After reading about smart folders, I intend to consolidate many of these into an "Archives" folder.
    d. The other IMAP accounts are each set to have 1+ GB of available server storage but each have under 100 MB used.
    e. I use SpamSieve for email (love it, by the way)
    f. I have a demo of MailTags running (it's been since mid-June and I've only played around with tagging a few emails so far but I intend to use iGTD once I get Mail back under control)
    What I've tried:
    1. I read that it's better to do the consolidated updates than the incremental ones so three times now I've tried to download the consolidated OSC 10.4.10 update but it never fully downloads. I'm not sure what's the deal with that as I've downloaded 300-400MB files over my internet connection at other times without difficulty.
    2. I read that you can delete the folders in mail.app and let it rebuild them from the IMAP folder... a. from what I read, I'm not clear on the procedure for doing this safely b. I have a lot of folders to deal with and c. the only places I've read about it is from people commenting in forums that it didn't help them.
    So... any suggestions?

    At least one of the problems you have appears to be some index corruption, and I have the feeling that MailTags has a bearing on it. I don’t think you’ll be able to completely solve the problems you have without uninstalling that first...
    Go to Apple Menu > System Preferences > Network, choose Network Port Configurations from the Show popup menu, and make sure that the configuration used to connect to Internet appears at the top of the list. Leave checked (enabled) only the port configuration needed to connect to Internet and Built-in Ethernet (in that order if not the same), uncheck (disable) the rest of network port configurations and see whether that helps — if it doesn’t, turn ON again the ones you want enabled.
    Verify/repair the startup disk (not just permissions), as described here:
    The Repair functions of Disk Utility: what's it all about?
    After having fixed all the filesystem issues, if any, and ensuring that there’s enough space available on the startup disk (a few GB, plus the space needed to make a backup copy of the Mail folder), try this:
    1. Quit Mail if it’s running.
    2. In the Finder, go to ~/Library/Mail/. Make a backup copy of this folder, just in case something goes wrong, e.g. by dragging it to the Desktop while holding the Option (Alt) key down. This is where all your mail is locally stored.
    3. Locate Envelope Index and move it to the Trash. If you see any other “Envelope Index”-named file there, delete it as well.
    4. Move any “IMAP-”, “Mac-”, or “Exchange-” account folders to the Trash. Note that you can do this with IMAP-type accounts because they store mail on the server and Mail can easily re-create them. DON’T trash any “POP-” account folders, as that would cause all the mail stored there to be lost.
    5. Open Mail. It will tell you that your mail needs to be “imported”. Click Continue and Mail will proceed to re-create Envelope Index — Mail says it’s “importing”, but it just re-creates the index if the mailboxes are already in Mail 2.x format.
    6. As a side effect of having removed the IMAP account folders, those accounts may be in an “offline” state now. Do Mailbox > Go Online to bring them back online.
    Given the amount of mail you have on the server, I expect it to take a fair amount of time for Mail to fully re-create the index and bring all the mailboxes back online. Again, I strongly encourage you to uninstall MailTags before doing that.
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder. That is, ~/Library is the Library folder within the user’s home folder, i.e. /Users/username/Library.

  • Mail missing in OS X Lion Mail.app

    I always keep copies of all my sent emails in Mail.app from OS X Lion, at least since April 2010 (before I used Thunderbird). Today I was looking for some email I sent in September 2010 to some friend (I was sure about this, was about his birthday) but found nothing. Indeed, all email sent before December 2010 does not appear anymore in the "sent" folder.
    I also remember in the last weeks, this old email on the "sent" folder, the subject was shown but could never read again the email message body.
    Amy hints?
    PS: I remember some of the things that I have been activating lastly were "show messages by conversation" and sometimes I rebuild some of the folders

    First take all applicable steps in this support article.
    If you still can't accept or install the apps, associate your Apple ID with your user account. Then sign in to the App Store with the same ID.

  • Lion Mail.app won't sync with Exchange 2003

    Hello,
    After upgrading to Lion, I am having an issue with my Exchange email in Mail.app. I get new emails, however if I file any emails from the Inbox into another folder and then leave view another folder or exit Mail, when I return the emails are back in the Inbox again. It is as if Mail is not syncing my changes up to the Exchange account.
    This issue did not begin until I moved to Lion. I have compared my settings to another co-worker, who is also on Lion and connecting to Exchange 2003 and everything appears to be the same.
    Thoughts? Solutions?

    RevRangwar,
    Yes, I think I was. I went ahead and removed my Exchange account from Mail and re-created it as Exchange IMAP, and it appears to have resolved the issue.
    Thanks for the help.

  • After upgrading to OSX Mavericks Mail App quite when try to open my MS Exchange Mail Messages

    After upgrading to OSX 10.9 Mail App quits when try to open my Mail messages. I have a MS Exchange account. I have removed account and installed it again. All messages where downloaded normally but when I just click on a mail the app quits :/

    The option key... I've been holding down the command key... No wonder that didn't work. I should really be writing this stuff down!.
    Regardless, Downloading and reinstalling iTunes did the trick.
    Thank you mende1 & saffron63 for the assist!

  • Mountain Lion Mail.app Sends Email Several Times While Drafting Reply

    Using Mail.app in Mountain Lion and the default configuration of Gmail via IMAP (as configured by Mail.app) when I reply to an existing message, Mail.app sends the partially completed email message several times while I am drafting the message, without me hitting the send button. This does not occur when composing new messages. I have not yet determined what is causing the message to send. My working theory is that it is sending the message each time a draft is saved to the server. Any insight on what is happening (or confirmation that other people are experiencing the same behavior) would be appreciated.

    I have 4 accounts running, 2 POP and 2 IMAP, after doing some checking today with a mac engineer online, it appears that it is incoming mail only affected and only on the POP accounts. I had previously tried recreating the accounts but as from today even just quitting Mail and reopening no longer works... the engineer has had to exculate my call to a specialist who in turn has now had to send it off to a specialist team to work on. When I get results, I will post them in case it helps someone else.

  • Mail attachment assertion failure Yosemite - Mail app bug

    Hi,
    I am facing a very annoying issue with Mail app. Since the upgrade to Yosemite, I am unable to save attachments with the "save all" button and the drag and drop is not working properly (sometime freezing the mail app for a minute). I am using Yosemite 10.10.2
    I tried every fix I have read online, such as :
    - rebuild mailboxes
    - repair permissions
    - remove 3 enveloppe index files in .../V2/MailData
    - reindex spotlight
    - run the command to repair permissions & reset home directory permissions and ACL (from this post : Mavericks Mail "Save Attachement..." doesn't work)
    - onyx automations...
    Nothing presented above fixed the problem.
    Here are the console logs related to the issue :
    20/02/2015 03:38:49,690 mdwrite[4655]: -[MDKeyRing initWithService:label:comment:] (/SourceCache/Spotlight/Spotlight-917.1/xpc-services/mdwrite/MDKeyRing.m:294) failed assertion -- Couldn't add Spotlight Metadata Privacy password to keychain! [osErr:-25295]
    20/02/2015 03:38:49,973 Mail[4088]: Metadata.framework [Error]: error Connection interrupted
    20/02/2015 03:38:49,973 Mail[4088]: *** Assertion failure in -[MailWebAttachment _addPrivateAttributes:], /SourceCache/Mail/Mail-2070.6/Mail/MessageDisplay/MessageView/DocumentModel/Mai lWebAttachment.m:331
    20/02/2015 03:38:49,973 Mail[4088]: [QL] Exception raised while try to get launch url for preview item: Failure in _MDItemSetPrivateAttributes: 3
    There is apparently a problem with the privacy attributes. Any idea of how to solve it?
    Thanks for your help,
    Best,
    Laurent

    Hi,
    I am facing a very annoying issue with Mail app. Since the upgrade to Yosemite, I am unable to save attachments with the "save all" button and the drag and drop is not working properly (sometime freezing the mail app for a minute). I am using Yosemite 10.10.2
    I tried every fix I have read online, such as :
    - rebuild mailboxes
    - repair permissions
    - remove 3 enveloppe index files in .../V2/MailData
    - reindex spotlight
    - run the command to repair permissions & reset home directory permissions and ACL (from this post : Mavericks Mail "Save Attachement..." doesn't work)
    - onyx automations...
    Nothing presented above fixed the problem.
    Here are the console logs related to the issue :
    20/02/2015 03:38:49,690 mdwrite[4655]: -[MDKeyRing initWithService:label:comment:] (/SourceCache/Spotlight/Spotlight-917.1/xpc-services/mdwrite/MDKeyRing.m:294) failed assertion -- Couldn't add Spotlight Metadata Privacy password to keychain! [osErr:-25295]
    20/02/2015 03:38:49,973 Mail[4088]: Metadata.framework [Error]: error Connection interrupted
    20/02/2015 03:38:49,973 Mail[4088]: *** Assertion failure in -[MailWebAttachment _addPrivateAttributes:], /SourceCache/Mail/Mail-2070.6/Mail/MessageDisplay/MessageView/DocumentModel/Mai lWebAttachment.m:331
    20/02/2015 03:38:49,973 Mail[4088]: [QL] Exception raised while try to get launch url for preview item: Failure in _MDItemSetPrivateAttributes: 3
    There is apparently a problem with the privacy attributes. Any idea of how to solve it?
    Thanks for your help,
    Best,
    Laurent

Maybe you are looking for

  • Packing specifications at Delivery

    Hi Plz guide me how to maintain packing specification or packing materials at delivery ..... so that i can enter material specification against each item  ....thnx

  • NPSWF32.dll error when installing flash player

    I've been trying to install flash player but I keep getting the same error when I try: Error opening file for writing              C:\windows\system32\macromed\flash\NPSWF32.dll When I ignore that one I get another error Error opening file for writin

  • Flash download/close Internet Explorer Windows

    Can't download Flash. Error message indicates to close all Internet Explorer windows and I have. Any suggestions?

  • Gettin 500 internal server error on cfhttp

    Hi ...I have this facebook app and it use to work fine but since a little while its not working. I have this api post and I'm using cfhttp post and its giving me 500 internal server error but when I do testing using form post its working fine now its

  • 3 Cascading Select Lists?

    I've successfully implemented the AJAX cascading select list found on Denes' site, but I need to add a 3rd select list and I have not been successful with that! I've duplicated all of the steps (created a new application process, a new application it