EmailDiscussions.com  

Go Back   EmailDiscussions.com > Email Service Provider-specific Forums > FastMail Forum
Register FAQ Members List Calendar Today's Posts
Stay in touch wirelessly

FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc.

Reply
 
Thread Tools
Old 2 Feb 2010, 08:41 PM   #1
Javier
Master of the @
 
Join Date: Aug 2004
Location: Madrid, Spain
Posts: 1,344
Don't print Attachments list

Hi all:

I have searched the forum, and I am not being able to find a way to get FastMail.FM not printing the list of attachments at the end of the message.

I am not sure if this list should be at the top (as some of the members requested a couple of years ago), but I am totally sure that, in most cases, I do not want to have a list of alll the attachments (mostly embedded images from HTML formated mails) at the end of my printout, using 1-2 additional pages.

Is there any way to solve this problem? Thanks in advance.
Javier is offline   Reply With Quote

Old 3 Feb 2010, 11:43 PM   #2
kurianja
Master of the @
 
Join Date: Apr 2003
Posts: 1,395

Representative of:
Fastmail.FM
You can use custom css to hide the attachment section when printing. Use the code below:
Code:
@media print {
  #attachments {
    display: none;
  }
}
Note that this won't hide the attachments when you view the email.

If you are not familiar with doing custom css, refer http://wiki.fastmail.fm/index.php?title=NewInterfaceCSS Its fairly easy to follow I believe, but if you are having problems with the instructions, please post back.
kurianja is offline   Reply With Quote
Old 4 Feb 2010, 01:03 AM   #3
Javier
Master of the @
 
Join Date: Aug 2004
Location: Madrid, Spain
Posts: 1,344
Thanks for your reply, kurianja

But there must be a problem, because I have created a "tweak.css" file that I have uploaded to the folder "{My Files}/custom-ui/css" but I cannot see any change.

In order to test it, I have added to the file other CSS codes I have found here and in the page you referred, but those other changes seem to be not working too.

I have tested it with Chrome and Firefox (both Windows Vista versions) and I have reloaded and exit/enter in the webmail in order to verify this is not the problem.

Any suggestion?
Javier is offline   Reply With Quote
Old 4 Feb 2010, 01:22 AM   #4
kurianja
Master of the @
 
Join Date: Apr 2003
Posts: 1,395

Representative of:
Fastmail.FM
The filename should be tweaks.css, I see you have mentioned it as tweak.css - that won't work.

Also make sure you have enabled the 'Custom styles' box in Options->Account preferences page - in the 'display' section.
kurianja is offline   Reply With Quote
Old 4 Feb 2010, 01:33 AM   #5
Javier
Master of the @
 
Join Date: Aug 2004
Location: Madrid, Spain
Posts: 1,344
Thanks again. It was my fault creating the file with an incorrect name. Now it works like a charm!!!

Just another question: is it possible to hide the URL's of the links when printing? They are not visible while displaying the message, but these links ocassionally "break" the formatting of the message after printing it.
Javier is offline   Reply With Quote
Old 4 Feb 2010, 01:37 PM   #6
kurianja
Master of the @
 
Join Date: Apr 2003
Posts: 1,395

Representative of:
Fastmail.FM
The below should do the trick, but it still leaves the markers behind.. I can't see a way to hide these easily - hopefully some CSS expert would chip in.

Code:
@media print {
  #attachments {
    display: none;
  }
  div.messageBody > pre > a  {
    display:none;
  }
}
kurianja is offline   Reply With Quote
Old 4 Feb 2010, 08:13 PM   #7
Javier
Master of the @
 
Join Date: Aug 2004
Location: Madrid, Spain
Posts: 1,344
Mmmmm, this last code seems to be not working. In fact, I do not see any difference with this new code relating the URL's. Maybe I have not stated clearly what is my problem. I hope a pic should be of help:

http://infosoc.es/media/pics/fmproblem.png

I do not want the printout displaying the URL's associated with pictures and/or links in the message.

Thanks again for your help.
Javier is offline   Reply With Quote
Old 4 Feb 2010, 11:10 PM   #8
Mystakill
Cornerstone of the Community
 
Join Date: Mar 2003
Location: Baltimore, MD (USA)
Posts: 836
Change
Code:
div.messageBody > pre > a
to
Code:
div.messageBody a
That works in Firefox/Safari/Chrome/Opera, but I won't guarantee it for IE.
Mystakill is offline   Reply With Quote
Old 5 Feb 2010, 12:30 AM   #9
Javier
Master of the @
 
Join Date: Aug 2004
Location: Madrid, Spain
Posts: 1,344
Thanks, Mystakill, but no luck.

Now, all the elements with link dissapear (for example, not just the "[-----]" code but also the image where the link is attached, not just the "[---]" but also the e-mail address, and so on).
Javier is offline   Reply With Quote
Old 5 Feb 2010, 02:25 AM   #10
kurianja
Master of the @
 
Join Date: Apr 2003
Posts: 1,395

Representative of:
Fastmail.FM
Quote:
Originally Posted by Mystakill View Post
Change
Code:
div.messageBody > pre > a
to
Code:
div.messageBody a
That works in Firefox/Safari/Chrome/Opera, but I won't guarantee it for IE.
Hm. I did try that originally, but couldn't get it to work, and came up with the one I posted - that hid the links in my emails when print previewing. Weird. FF3.5.7
kurianja is offline   Reply With Quote
Old 5 Feb 2010, 02:37 AM   #11
Mystakill
Cornerstone of the Community
 
Join Date: Mar 2003
Location: Baltimore, MD (USA)
Posts: 836
Quote:
Originally Posted by kurianja View Post
Hm. I did try that originally, but couldn't get it to work, and came up with the one I posted - that hid the links in my emails when print previewing. Weird. FF3.5.7
I couldn't get the former working in my 3.5.7, but the latter worked fine.
Mystakill is offline   Reply With Quote
Old 6 Feb 2010, 06:26 PM   #12
neilj
Cornerstone of the Community
 
Join Date: Apr 2004
Location: Melbourne
Posts: 971

Representative of:
Fastmail.fm
You want:

Code:
.messageBody a:not([href^='#']):not([href^='/']):after {
    display: none;
}
Neil.
neilj is offline   Reply With Quote
Old 6 Feb 2010, 07:14 PM   #13
Javier
Master of the @
 
Join Date: Aug 2004
Location: Madrid, Spain
Posts: 1,344
Thanks a lot, Neil.

This new code works perfectly Finally, I am able to print my messages as I wish!

This is one of the reasons I have my account with FastMail.FM while having another account with GMail: it allows to customize every aspect of the interfase and user experience.

And with all of you, I am sure I will be able to get those customizations I cannot get by myself (I cannot be so active here now --but I usually read your contributions-- as I were some time ago, but I am very happy to see that the knowledge and expertise in these forums are as good as always has been).
Javier is offline   Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +9. The time now is 04:05 PM.

 

Copyright EmailDiscussions.com 1998-2022. All Rights Reserved. Privacy Policy