When composing new messages, you will be entered in emacs's
`message-mode`, which is a powerful mode for composing and sending
-messages. When in message move, you can type `C-c ?` for help.
+messages. When in message mode, you can type `C-c ?` for help.
If you would like to use address autocompletion when composing
messages, see [address completion](#address_completion).
And for those who prefer working from command line, the following
script opens new emacs window with empty message and attaches files
mentioned as script arguments. (Note: The script expects that you have
-`(server-start)` in your .emacs)
+`(server-start)` in your `.emacs` file.)
#!/bin/sh
attach_cmds=""
while [ "$1" ]; do
- attach_cmds="$attach_cmds (mml-attach-file \"$1\")"
+ fullpath=$(readlink --canonicalize $1)
+ attach_cmds="$attach_cmds (mml-attach-file \"$fullpath\")"
shift
done
emacsclient -a '' -c -e "(progn (compose-mail) $attach_cmds)"
Packard wrote, which he calls `view-html`:
#!/bin/sh
- dir=3D`mktemp -d`
+ dir=`mktemp -d`
trap "rm -r $dir" 0
cat "$@" > "$dir"/msg
if munpack -C "$dir" -t < "$dir"/msg 2>&1 | grep 'Did not find'; then
of the mail text body and will be converted into a pgp signature
when sending (so one can just manually delete that line if signing
is not required).
+
+Alternatively, you may prefer to use `mml-secure-message-sign-pgpmime` instead
+of `mml-secure-sign-pgpmime` to sign the whole message instead of just one
+part.