xdg-email - command line tool for sending mail using the user's
   preferred e-mail composer


   xdg-email [--utf8] [--cc address] [--bcc address] [--subject text]
             [--body text] [--attach file] [mailto-uri | address(es)]

   xdg-email {--help | --manual | --version}


   xdg-email opens the user's preferred e-mail composer in order to send a
   mail to address(es) or mailto-uri. RFC2368 defines mailto: URIs.
   xdg-email limits support to, cc, subject and body fields in mailto-uri,
   all other fields are silently ignored.  address(es) must follow the
   syntax of RFC822. Multiple addresses may be provided as separate

   All information provided on the command line is used to prefill
   corresponding fields in the user's e-mail composer. The user will have
   the opportunity to change any of this information before actually
   sending the e-mail.

   xdg-email is for use inside a desktop session only. It is not
   recommended to use xdg-email as root.


       Indicates that all command line options that follow are in utf8.
       Without this option, command line options are expected to be
       encoded according to locale. If the locale already specifies utf8
       this option has no effect. This option does not affect mailto URIs
       that are passed on the command line.

   --cc address
       Specify a recipient to be copied on the e-mail.

   --bcc address
       Specify a recipient to be blindly copied on the e-mail.

   --subject text
       Specify a subject for the e-mail.

   --body text
       Specify a body for the e-mail. Since the user will be able to make
       changes before actually sending the e-mail, this can be used to
       provide the user with a template for the e-mail.  text may contain

   --attach file
       Specify an attachment for the e-mail.  file must point to an
       existing file.

       Some e-mail applications require the file to remain present after
       xdg-email returns.

       Show command synopsis.

       Show this manual page.

       Show the xdg-utils version information.


   xdg-email honours the following environment variables:

       Setting this environment variable to a non-zero numerical value
       makes xdg-email do more verbose reporting on stderr. Setting a
       higher value increases the verbosity.


   An exit code of 0 indicates success while a non-zero exit code
   indicates failure. The following failure codes can be returned:

       Error in command line syntax.

       One of the files passed on the command line did not exist.

       A required tool could not be found.

       The action failed.

       No permission to read one of the files passed on the command line.


   xdg-open(1), xdg-mime(1), MIME applications associations
   specification[1], RFC 6068 - The 'mailto' URI Scheme[2]


       xdg-email 'Jeremy White <jwhite@example.com>'

       xdg-email --attach /tmp/logo.png \
                 --subject 'Logo contest' \
                 --body 'Attached you find the logo for the contest.' \

       xdg-email --subject 'Your password is about to expire' \
                 'jwhite@example.com' 'bastian@example.com' 'whipple@example.com'


   Kevin Krammer

   Jeremy White


   Copyright  2006


    1. MIME applications associations specification

    2. RFC 6068 - The 'mailto' URI Scheme


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.

Free Software

Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.

Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.

Free Books

The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.

Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.

Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.