-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This fixes an issue with thunderbird on linux: When using XSimpleMailMessage and attaching more than one attachment, thunderbird picked up just one of the attached files. Reason was that the file:// part should be enclosed in 's. Not documented on mozilla's spec, as far as I can see (ambigous, at least). example: thunderbird -compose to=a@b.c,subject=t,attachment=file:///tmp/1.doc,file:///tmp/2.doc didn't work, while this works: thunderbird -compose to=a@b.c,subject=t,attachment='file:///tmp/1.doc,file:///tmp/2.doc' best Arno - -- Attached is my digital signature. If your email program can't display it, you don't need it. Min digitale signatur er vedlagt. Du trenger den ikke hvis ikke epostprogrammet ditt kan vise den. Mi firma digital está adjunta. Si su programa de correos no lo puede mostrar, significa que no lo necesita. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlALbpIACgkQEMIGVCc8BjCGZACaA4SbJu7xKawlRtnCW5QyFxfO ZlgAn2QmZhX3OW8PZS4yX9+qtGzK3LTA =YvXT -----END PGP SIGNATURE-----
From f2886ed13dfe03e5dd638dc6d21216cb4183d9ab Mon Sep 17 00:00:00 2001 From: Arno Teigseth <arnotixe@gmail.com> Date: Sat, 21 Jul 2012 21:58:41 -0500 Subject: [PATCH] Fixed multiple attachment passing to thunderbird: file:// part needs 's Change-Id: I365e559610e06c6ffe964121b3c45077bf6ca264 --- shell/source/unix/misc/senddoc.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/shell/source/unix/misc/senddoc.sh b/shell/source/unix/misc/senddoc.sh index f75e51d..2a4c414 100755 --- a/shell/source/unix/misc/senddoc.sh +++ b/shell/source/unix/misc/senddoc.sh @@ -112,7 +112,7 @@ case `basename "$MAILER" | sed 's/-.*$//'` in COMMAND=${COMMAND:-}${COMMAND:+,}body=${BODY} fi if [ "$ATTACH" != "" ]; then - COMMAND=${COMMAND:-}${COMMAND:+,}attachment=${ATTACH} + COMMAND=${COMMAND:-}${COMMAND:+,}attachment=\'${ATTACH}\' fi run_mozilla "$MAILER" "$COMMAND" -- 1.7.4.1
Attachment:
0001-Fixed-multiple-attachment-passing-to-thunderbird-fil.patch.sig
Description: Binary data