Showing posts with label email. Show all posts
Showing posts with label email. Show all posts

Monday, April 18, 2011

Sending files from the Linux command line

Here is a quick way to e-mail yourself files from a server using mutt.

$ mutt -a tcpdumpApril182011.pcap my_name@example.com < /dev/null

Mutt is great for sending MIME encoded files.

Wednesday, August 13, 2008

Adding a subject to an e-mail link

Usually, an e-mail link would look like this:

<a href="mailto:sales@coraid.com">E-mail sales </a>

But to add a subject line to the e-mail when someone clicks the link and sends an e-mail is done with the one of the two following examples:

<a href="mailto:sales@coraid.com?subject=New%20sales%20inquiry">E-mail sales</a>

or

<a href="mailto:sales@coraid.com" title="New sales inquiry">E-mail sales</a>

The first one works every time that I have used it, but the second one is an HTML compliant way of doing the same thing.