Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Service command in Preview.app - Send PDF as attachment doesn't work

I have used the following workflow for month on all my three macs.

I open up a PDF file in Preview and select "eMail PDF as attachment" from the Edit menu at the top of the screen. This will attach the current viewed PDF file to a new mail message.


I guess after updating to 10.7.2 somehow it stopped working on MacBook Pro and iMac. My Mac mini is fine.


When I do use this command I get two error messages. Service not available. Can't attach PDF to mail. Import failed. Something like that.


Does anyone know how to fix that? I repaired permissions and did all that kind of stuff.


Thanks in advance!

MacBook Pro, Mac OS X (10.7.2)

Posted on Oct 21, 2011 6:54 AM

Reply
39 replies

Oct 21, 2011 1:12 PM in response to John Blanchard1

Thanks for the reply. It should come up under FILE in the menu bar (first thing right after PREVIEW). Sorry my system is set to another language.


Instead of opening Mail.app and attaching that PDF to a new message, you can make use of FILE - Send PDF as eMail (or something like that). Just open a PDF-File in Preview. Make use of that command under FILE.

It should simply open Mail.app and open a new email message with the PDF File as an attachment.

Oct 21, 2011 11:55 PM in response to John Blanchard1

Yes it is the option to "Mail selected PDF document". The first message is with Preview telling me that the service "New eMail with attachment" couldn't be used. When I click on OK, I get an error message saying, "Import Failed. Couldn't import the selected images into Mail". All this time Mail doesn't even open up.


I'm afraid nothing helpful about that error will show up in Console.


Strange thing. As I said two of my Mac have that problem. The other one doesn't.


Thanks John for helping me out.

Oct 22, 2011 1:35 PM in response to btraber

It sounds like the second message is a result of the first. Solving the service error should get rid of the second.


Do you have the "New eMail with attachment" service turned on in the Keyboard->Keyboard Shortcuts->Services panel? If it is on, is it something specific to the document? Permissions?


I can't reproduce the failure here, so I am just guessing.


>>I'm afraid nothing helpful about that error will show up in Console.

Does that mean that nothing *did" show up? In the "All Messages" or "Diagnostic and Usage Messages?" There should be something somewhere in Console that relates to the service error.


Happy to help, though I am running out of ideas.

Oct 24, 2011 5:28 AM in response to btraber

Same happened to my 15'' Macbook Pro mid 2010. After the 10.7.2 update I cannot send emails through the Preview app. I tried to google the error messages that show up (exactly same as already mentioned in this thread), but nothing to find. No messages show up in the log files. The service in the service menu is activated (exactly like before the 10.7.2 update). My Lion is a Snow Leopard upgrade install and not a fresh install. My Mac Mini 2010 doesn't have this problem.

Oct 24, 2011 5:45 AM in response to John Blanchard1

For some reason nothing showed up in Console. I checked again and there was nothing. My situation is pretty much as thomas089 described it. I did a clean install of Lion and carbon copied this version to my Mac mini and iMac. The Mac mini 2009 is fine.


And I did repair permissions, Cleaned caches and resetted the service menu. Nothing...

Oct 24, 2011 7:28 AM in response to btraber

ok, I have a solution. I closed the Preview.app, then I moved the folder ~/Library/Containers/com.apple.Preview to my Desktop (or somewhere else). I opened some pdf with Preview again, and then I was able to use "eMail PDF as attachment" as usual. Mail opens as expected. The ~/Library/Containers/com.apple.Preview folder has been newly created again.


Maybe someone can enlighten me what it is all about this Container folder in Library?

Oct 26, 2011 11:05 AM in response to btraber

I digged a little bit more into the cause for the problem. The reason for the problem in my case was that in


~/Library/Containers/com.apple.Preview/Data/Library/Preferences


the file com.apple.ServicesMenu.Services.plist actually was a real file. After I removed the complete ~/Library/Containers/com.apple.Preview folder, everything has been recreated, but this time the file com.apple.ServicesMenu.Services.plist was a symbolic link to the real file. If I change this symbolic link back to the old real file, I run into the problem as before. Permissions by the way looked all fine and identical.

Nov 2, 2011 8:51 AM in response to John Blanchard1

I am having the same problem the original poster had, and in trying to perform the fix he gave, I am now having trouble finding the folder/file he references that needs to be removed. I'm on a 15"MBP, (early 2008) running Lion 10.7.2 (from an upgrade). I guess I haven't looked at Finder in awhile and it looks different than the last time I looked. For the life of me, I can't find this anywhere:

~/Library/Containers/com.apple.Preview/Data/Library/Preferences


I know that the "~" stands for my user name, correct? The name that appears next to the little house icon? And before, when I clicked on my user name, among the folders that appeared I could have sworn that one was labled "Library". However, there is no "Library" folder now, just the following:

User uploaded file

I've tried searching the computer, using Spotlight, for the folder name (or various combinations of the folder name) and nothing comes up. Can anyone help steer me in the right direction to find the folder so that I can try and fix the problem with Preview and attaching files to emails? Thank you!

Service command in Preview.app - Send PDF as attachment doesn't work

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