Skip to content

Shell environment ​

Adapted from the Jaromail manual source. Copyleft © 2010–2023 Denis Roio. GNU Free Documentation License 1.3 or later; full permission notice.

Optional integrations

Some features in this chapter are legacy or platform-specific. See optional integrations for their maintenance status.

Zsh commandline completion ​

For Zsh users out there there is a completion recipe that can facilitate the use of Jaro Mail by adding tab completion on the console terminal: commands and accounts will be listed and completed automatically just like with other commands.

To activate the completion move the file src/completion/_jaromail into the path where zsh loads vendor completions, typically that is /usr/share/zsh/vendor-completions.

Quickly send a file via email on Apple/OSX ​

To right-click on a file and send it via email attach using Jaro Mail you must create a "Service" using the application "Automator". It is fairly simple:

  1. Start Automator
  2. Choose the Service template
  3. In the dropdown boxes that appear choose "files or folders" and "Finder"
  4. Look for "Run Applescript" in the Library tree
  5. Drag "Run Applescript" in the workflow area and paste this script into it:
text
on run {input, parameters}
    tell application "Terminal"
        activate
        tell window 1
            do script "/Applications/JaroMail.app/Contents/Resources/jaro/bin/jaro " & POSIX path of input
        end tell
    end tell
end run

Now Save the new service (you can name it "Send file via Jaro Mail") and when you will right click on a file, in the submenu "Services" you will find the option you just scripted, which will open a Terminal asking you the email address, while the file will be already configured as attach.

License ​

The following copyright notice applies to this manual, the software included is licensed under the same or different GNU GPL or BSD licenses, or available in the public domain.

text
Copyleft (C) 2010-2023 Denis Roio <jaromil@dyne.org>

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation;
Permission is granted to make and distribute verbatim copies of this
manual page provided the above copyright notice and this permission
notice are preserved on all copies.